Skip to content

Commit 94a0f0e

Browse files
Merge pull request #1 from CodeWithSouma/master
merge experimental to master
2 parents 5bd3019 + d969736 commit 94a0f0e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node app.js

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ app.post("/compose",function(req,res){
8383
});
8484

8585

86-
app.listen(3000, function() {
86+
app.listen(process.env.PORT || 3000, function() {
8787
console.log("Server started on port 3000");
8888
});

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,12 @@
1414
"express": "^4.16.3",
1515
"lodash": "^4.17.19",
1616
"mongoose": "^5.9.28"
17+
},
18+
"keywords": [
19+
"example",
20+
"heroku"
21+
],
22+
"engines": {
23+
"node": "12.18.2"
1724
}
1825
}

0 commit comments

Comments
 (0)