Files
MagicMirror/serveronly/index.js
T

9 lines
344 B
JavaScript
Raw Normal View History

2023-04-04 20:44:32 +02:00
const app = require("../js/app");
const Log = require("../js/logger");
2020-05-11 07:25:42 +02:00
2023-04-04 20:44:32 +02:00
app.start().then((config) => {
2021-04-18 14:49:54 +02:00
const bindAddress = config.address ? config.address : "localhost";
const httpType = config.useHttps ? "https" : "http";
2024-01-07 17:28:17 +01:00
Log.info(`\n>>> Ready to go! Please point your browser to: ${httpType}://${bindAddress}:${config.port} <<<`);
2016-04-08 22:16:22 +02:00
});