Skip to content

Commit

Permalink
fix: removed ALLOW_HTTP from start cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzware committed Sep 2, 2021
1 parent 5ee30a8 commit cca1bbf
Show file tree
Hide file tree
Showing 3 changed files with 1,001 additions and 1,002 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": ">= 10.x.x"
},
"scripts": {
"start": "ALLOW_HTTP=true env-cmd nodemon --watch ./src -e js src/index.js",
"start": "env-cmd nodemon --watch ./src -e js src/index.js",
"test": "mocha --timeout 10000 && npm run lint",
"lint": "eslint ."
},
Expand Down
7 changes: 0 additions & 7 deletions pm2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
{
"name": "url-to-pdf-api",
"script": "src/index.js",
"env": {
"NODE_ENV": "production",
"PORT": "9000",
"ALLOW_HTTP": "true",
"DEBUG_MODE": "false",
"DISABLE_JS": "false"
},
"autorestart": true,
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS"
}
Expand Down
Loading

0 comments on commit cca1bbf

Please sign in to comment.