Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c8725
)
eslint errors
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 23 May 2020 20:13:18 +0000
(22:13 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 23 May 2020 20:13:18 +0000
(22:13 +0200)
server/trivabble-server.js
patch
|
blob
|
blame
|
history
diff --git
a/server/trivabble-server.js
b/server/trivabble-server.js
index 983e433a221711027514ea6c1ee7b98a8dd66195..c60ecf3a67da73109384de9be5c2bfa5e5503d62 100644
(file)
--- 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);
});
});