Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Field Science
datavis
Commits
4d22041d
Commit
4d22041d
authored
Nov 19, 2021
by
Porter Libby
Browse files
small changes to server
parent
58262fba
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
index.js
View file @
4d22041d
...
...
@@ -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
'
)
})
package-lock.json
View file @
4d22041d
This diff is collapsed.
Click to expand it.
package.json
View file @
4d22041d
...
...
@@ -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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment