Merge pull request #1660 from hackmdio/bugfix/heroku-postgres-ssl

Enforce PG ssl require mode on heroku
This commit is contained in:
Yukai Huang 2021-03-02 11:57:05 +08:00 committed by GitHub
commit 7200506563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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": [

View File

@ -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",