paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 654596c3af2aa6080049f572734e91a4ae249c49
parent 450dd06ab1bb6198f2c0b3f5c5c3bee3cff66d1f
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun, 14 Apr 2019 16:13:34 -0400

Server will look at environment variable set by systemd service for port

Diffstat:
Mserver/app.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/app.js b/server/app.js @@ -180,7 +180,7 @@ const httpServer = http.createServer((req, res) => { } } }); -}).listen(8080); +}).listen(process.env.NODE_PORT || 8080); read_page_hits(); setInterval(save_page_hits, 2000);