eslint errors
authorLaurent Mazet <mazet@softndesign.org>
Sat, 23 May 2020 20:13:18 +0000 (22:13 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Sat, 23 May 2020 20:13:18 +0000 (22:13 +0200)
server/trivabble-server.js

index 983e433a221711027514ea6c1ee7b98a8dd66195..c60ecf3a67da73109384de9be5c2bfa5e5503d62 100644 (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);
     });
 });