9 lines
331 B
JavaScript
Raw Normal View History

const app = require("../js/app");
const Log = require("../js/logger");
2020-05-11 07:25:42 +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";
Log.log(`\nReady to go! Please point your browser to: ${httpType}://${bindAddress}:${config.port}`);
2016-04-08 22:16:22 +02:00
});