Permalink
Browse files

Setting script and ports for Heroku

  • Loading branch information...
1 parent cd0333f commit ebb5d76229b0f7ac415c6c6b802264b683e7891b @francoislg committed Dec 10, 2016
Showing with 4 additions and 1 deletion.
  1. +3 −1 index.js
  2. +1 −0 package.json
View
@@ -32,4 +32,6 @@ app.get("/partyparrot", (req, res, done) => {
} else {
parrotConstructor.finish();
}
-});
+});
+
+app.listen(process.env.PORT || 8080);
View
@@ -4,6 +4,7 @@
"description": "Party Parrot as a Service",
"main": "index.js",
"scripts": {
+ "start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [

0 comments on commit ebb5d76

Please sign in to comment.