remove ports

This commit is contained in:
Ondrej Synacek 2019-10-15 22:55:12 +02:00
parent 525ebb82e2
commit f2181d62f7
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ const crawl = require('./crawler')
const parseHTML = require('./parser') const parseHTML = require('./parser')
const generateICS = require('./ics') const generateICS = require('./ics')
const port = process.env.PORT || 3000 const port = process.env.PORT
const app = express() const app = express()
app.set('view engine', 'ejs') app.set('view engine', 'ejs')

View File

@ -4,9 +4,9 @@
"description": "App that converts events on Facebook event page to iCal file.", "description": "App that converts events on Facebook event page to iCal file.",
"main": "lib/index.js", "main": "lib/index.js",
"scripts": { "scripts": {
"start": "PORT=80 node lib/index.js", "start": "node lib/index.js",
"start:dev": "nodemon lib/index.js", "start:dev": "PORT=3000 nodemon lib/index.js",
"start:dev:inspect": "nodemon --inspect lib/index.js", "start:dev:inspect": "PORT=3000 nodemon --inspect lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"keywords": [ "keywords": [