mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
- order (external first) - remove superfluous file extensions - new line after imports - deconstruct (only one time (in `check_config.js`)) - fix path (only one time (in `global-setup.js`))
9 lines
325 B
JavaScript
9 lines
325 B
JavaScript
const Log = require("logger");
|
|
const app = require("../js/app");
|
|
|
|
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}`);
|
|
});
|