From: Laurent Mazet Date: Sat, 23 May 2020 20:13:18 +0000 (+0200) Subject: eslint errors X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=c3698558aaeec1955a2905ba7f81a298c97b3a3e;p=trivabble.git eslint errors --- diff --git a/server/trivabble-server.js b/server/trivabble-server.js index 983e433..c60ecf3 100644 --- a/server/trivabble-server.js +++ b/server/trivabble-server.js @@ -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); }); });