Skip to content

Commit 1c5eaae

Browse files
committed
fix: heroku Proffile might show sensitive data in log
Signed-off-by: BoHong Li <[email protected]>
1 parent a2b9fa9 commit 1c5eaae

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: CMD_DB_URL="$DATABASE_URL" CMD_PORT="$PORT" npm run start
1+
web: ./bin/heroku_start.sh

Diff for: bin/heroku_start.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
CMD_DB_URL="$DATABASE_URL" CMD_PORT="$PORT" npm run start

0 commit comments

Comments
 (0)