From c3698558aaeec1955a2905ba7f81a298c97b3a3e Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Sat, 23 May 2020 22:13:18 +0200 Subject: [PATCH] eslint errors --- server/trivabble-server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }); }); -- 2.30.2