Skip to content

Commit

Permalink
Added Procfile v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioBeneditto committed Feb 23, 2022
1 parent ffbfc85 commit 76c8ab4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ app.get('/', (req, res) => {
res.send('Hello World!')
})

app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})
app.listen(process.env.PORT || port, '0.0.0.0', () => {
console.log("Server is running.");
});

0 comments on commit 76c8ab4

Please sign in to comment.