Run linter manually

This commit is contained in:
rejas 2020-02-13 08:35:09 +01:00
parent ef7720ff06
commit 5517a913d4
4 changed files with 12 additions and 12 deletions

View file

@ -25,13 +25,13 @@ var Server = function(config, callback) {
var options = {
key: fs.readFileSync(config.httpsPrivateKey),
cert: fs.readFileSync(config.httpsCertificate)
}
};
server = require("https").Server(options, app);
}else{
server = require("http").Server(app);
}
var io = require("socket.io")(server);
console.log("Starting server on port " + port + " ... ");
server.listen(port, config.address ? config.address : "localhost");