diff --git a/lib/index.js b/lib/index.js index f1ce976..2479979 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,7 +6,7 @@ const crawl = require('./crawler') const parseHTML = require('./parser') const generateICS = require('./ics') -const port = process.env.PORT || 3000 +const port = process.env.PORT const app = express() app.set('view engine', 'ejs') diff --git a/package.json b/package.json index ecdb996..17e0bed 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "description": "App that converts events on Facebook event page to iCal file.", "main": "lib/index.js", "scripts": { - "start": "PORT=80 node lib/index.js", - "start:dev": "nodemon lib/index.js", - "start:dev:inspect": "nodemon --inspect lib/index.js", + "start": "node lib/index.js", + "start:dev": "PORT=3000 nodemon lib/index.js", + "start:dev:inspect": "PORT=3000 nodemon --inspect lib/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [