Skip to content
Snippets Groups Projects
Commit 89bf2fc1 authored by Omar Elkadi's avatar Omar Elkadi
Browse files

Revert "allow acsses from outside express"

This reverts commit a226f740
parent a226f740
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,3 @@ app.get('/', (req, res) => { res.send('Hello World') }) ...@@ -8,7 +8,3 @@ app.get('/', (req, res) => { res.send('Hello World') })
const PORT = process.env.PORT || 3000 const PORT = process.env.PORT || 3000
app.listen(PORT, () => { console.log(`Server is running in http://localhost:${PORT}`) }) app.listen(PORT, () => { console.log(`Server is running in http://localhost:${PORT}`) })
// # sourceMappingURL=server.js.map // # sourceMappingURL=server.js.map
app.listen(3000, '0.0.0.0', function () {
console.log('Listening to port: ' + 3000)
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment