9 lines
331 B
JavaScript
Raw Normal View History

2020-05-11 07:25:42 +02:00
const app = require("../js/app.js");
2021-02-18 19:14:53 +01:00
const Log = require("logger");
2020-05-11 07:25:42 +02:00
2021-04-18 14:49:54 +02:00
app.start((config) => {
const bindAddress = config.address ? config.address : "localhost";
const httpType = config.useHttps ? "https" : "http";
2020-05-11 07:25:42 +02:00
Log.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port);
2016-04-08 22:16:22 +02:00
});