Skip to content

Commit 76c8ab4

Browse files
author
Fabio Beneditto
committed
Added Procfile v1.2
1 parent ffbfc85 commit 76c8ab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ app.get('/', (req, res) => {
66
res.send('Hello World!')
77
})
88

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

0 commit comments

Comments
 (0)