Skip to content

Commit

Permalink
Merge pull request #1660 from hackmdio/bugfix/heroku-postgres-ssl
Browse files Browse the repository at this point in the history
Enforce PG ssl require mode on heroku
  • Loading branch information
Yukaii authored Mar 2, 2021
2 parents 181adbd + 1cdfbad commit 7200506
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
"CMD_ALLOW_PDF_EXPORT": {
"description": "Enable or disable PDF exports",
"required": false
},
"PGSSLMODE": {
"description": "Enforce PG SSL mode",
"value": "require"
}
},
"addons": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"coverage:ci": "nyc mocha --no-color -R dot --require intelli-espower-loader --exit --recursive ./test",
"test": "npm run-script lint && npm run-script jsonlint && npm run-script coverage",
"test:ci": "npm run-script lint && npm run-script jsonlint && npm run-script coverage:ci",
"postinstall": "bin/heroku"
"heroku-postbuild": "npm run build && ./bin/heroku"
},
"dependencies": {
"@aws-sdk/client-s3-node": "0.1.0-preview.2",
Expand Down

0 comments on commit 7200506

Please sign in to comment.