const app = require("../js/app.js");
const Log = require("logger");

app.start((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);
});

const app = require("../js/app.js");
const Log = require("logger");

app.start(function (config) {
	var bindAddress = config.address ? config.address : "localhost";
	var httpType = config.useHttps ? "https" : "http";
	Log.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port);
});

--- 
+++ 
@@ -1,8 +1,8 @@
 const app = require("../js/app.js");
 const Log = require("logger");
 
-app.start(function (config) {
-	var bindAddress = config.address ? config.address : "localhost";
-	var httpType = config.useHttps ? "https" : "http";
+app.start((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);
 });
Use es6 notation in serveronly