mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
supersedes https://github.com/MichMich/MagicMirror/pull/3027 and just touches the start/stop calls. --------- Co-authored-by: veeck <michael@veeck.de>
9 lines
338 B
JavaScript
9 lines
338 B
JavaScript
const app = require("../js/app.js");
|
|
const Log = require("logger");
|
|
|
|
app.start().then((config) => {
|
|
const bindAddress = config.address ? config.address : "localhost";
|
|
const httpType = config.useHttps ? "https" : "http";
|
|
Log.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port);
|
|
});
|