Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Omar Elkadi
PStA WP2 OmarElkadi1
Commits
89bf2fc1
Commit
89bf2fc1
authored
Jun 21, 2021
by
Omar Elkadi
Browse files
Revert "allow acsses from outside express"
This reverts commit
a226f740
parent
a226f740
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/dist/server.js
View file @
89bf2fc1
...
...
@@ -8,7 +8,3 @@ app.get('/', (req, res) => { res.send('Hello World') })
const
PORT
=
process
.
env
.
PORT
||
3000
app
.
listen
(
PORT
,
()
=>
{
console
.
log
(
`Server is running in http://localhost:
${
PORT
}
`
)
})
// # sourceMappingURL=server.js.map
app
.
listen
(
3000
,
'
0.0.0.0
'
,
function
()
{
console
.
log
(
'
Listening to port:
'
+
3000
)
})
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