9 lines
342 B
JavaScript
Raw Normal View History

2020-05-11 07:25:42 +02:00
const app = require("../js/app.js");
const Log = require("../js/logger.js");
2020-05-25 18:57:15 +02:00
app.start(function (config) {
2016-11-25 21:55:51 -03:00
var bindAddress = config.address ? config.address : "localhost";
2020-02-01 20:46:26 +08:00
var 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
});