fix incorrect host display in the server
authorRaphaël Jakse <raphael.trivabble@jakse.fr>
Mon, 13 Jul 2020 13:52:40 +0000 (15:52 +0200)
committerRaphaël Jakse <raphael.trivabble@jakse.fr>
Mon, 13 Jul 2020 13:53:45 +0000 (15:53 +0200)
server/trivabble-server.js

index c60ecf3a67da73109384de9be5c2bfa5e5503d62..07bc61446cb423356e53c64f8b6f81d858bcb23d 100644 (file)
@@ -1173,7 +1173,7 @@ fs.readFile(GAMES_BACKUP, function (err, data) {
     });
 
     server.listen(port, host, function () {
-        console.log("Server listening on: http://localhost:%s", port);
+        console.log("Server listening on: http://%s:%s", host, port);
     });
 });