Fix port
This commit is contained in:
parent
82a2c51c00
commit
d1b2b93d14
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
|
@ -100,6 +100,6 @@ app.get("/posts/:postName", function(req, res){
|
|||
|
||||
})
|
||||
|
||||
app.listen(3000, function() {
|
||||
app.listen(process.env.PORT || 3000, function() {
|
||||
console.log("Server started on port 3000");
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue