Commit 4d22041d authored by Porter Libby's avatar Porter Libby
Browse files

small changes to server

parent 58262fba
......@@ -33,7 +33,11 @@ app.get('/streamings', q.getStreamings);
// LISTEN
app.listen(process.env.PORT || 9900, function(){
console.log("Server: Running on port %d in %s mode", this.address().port, app.settings.env);
});
app.listen(9900, '0.0.0.0', function (err) {
if (err) {
console.log(err)
return
}
console.log('Listening at http://localhost:' + "9900" + '\n')
})
This diff is collapsed.
......@@ -18,6 +18,7 @@
},
"homepage": "https://gitlab.cluster.earlham.edu/field-science/datavis",
"dependencies": {
"dns": "^0.2.2",
"dotenv": "^8.1.0",
"ejs": "^2.7.1",
"express": "^4.17.1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment