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

allow acsses from outside express

parent deb63dd0
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,7 @@ 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)
})
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