Skip to content

Commit a2b9fa9

Browse files
committed
fix: change heroku and scalingo config schema for 2.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
1 parent ac1b419 commit a2b9fa9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

app.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@
1515
"description": "Let npm also install development build tool",
1616
"value": "false"
1717
},
18-
"CMD_PORT": {
19-
"description": "Listen Port",
20-
"value": "$PORT"
21-
},
22-
"CMD_DB_URL": {
23-
"description": "Database URL",
24-
"value": "$DATABASE_URL"
25-
},
2618
"CMD_SESSION_SECRET": {
2719
"description": "Secret used to secure session cookies.",
2820
"required": false

scalingo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148
"description": "Database query url",
149149
"value": "$DATABASE_URL"
150150
},
151+
"CMD_PORT": {
152+
"description": "Listening Port",
153+
"value": "$PORT"
154+
},
151155
"DYNO": {
152156
"description": "Require this env var for deploy correctly the app",
153157
"value": "Scalingo"

0 commit comments

Comments
 (0)