mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
User logger in node files
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
var app = require("../js/app.js");
|
||||
app.start(function (config) {
|
||||
const app = require("../js/app.js");
|
||||
const Log = require("../js/logger.js");
|
||||
|
||||
app.start(function(config) {
|
||||
var bindAddress = config.address ? config.address : "localhost";
|
||||
var httpType = config.useHttps ? "https" : "http";
|
||||
console.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port);
|
||||
Log.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port);
|
||||
});
|
||||
|
Reference in New Issue
Block a user