MagicMirror/serveronly/index.js
2025-01-14 22:58:14 +01:00

8 lines
361 B
JavaScript

const app = require("../js/app");
const Log = require("../js/logger");
app.start().then((config) => {
const bindAddress = config.address ? config.address : "localhost";
const httpType = config.useHttps ? "https" : "http";
Log.info(`\n>>> Ready to go! Please point your browser to: ${httpType}://${bindAddress}:${global.mmPort || config.port} <<<`);
});