eslint errors

This commit is contained in:
Laurent Mazet 2020-05-23 22:13:18 +02:00
parent 86c8725272
commit c3698558aa
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
"use strict";
const port = parseInt(process.env.TRIVABBLE_PORT || "3000");
const host = process.env.TRIVABBLE_HOST || "localhost"
const host = process.env.TRIVABBLE_HOST || "localhost";
const SAVE_TIMEOUT = 5000;
const KEEP_ALIVE = 30000;
@ -1172,7 +1172,7 @@ fs.readFile(GAMES_BACKUP, function (err, data) {
console.error("An error happened in the HTTP server", error);
});
server.listen(port, host, function() {
server.listen(port, host, function () {
console.log("Server listening on: http://localhost:%s", port);
});
});