summaryrefslogtreecommitdiff
path: root/bin/heroku
diff options
context:
space:
mode:
authorDavid Mehren2021-05-09 14:59:29 +0200
committerGitHub2021-05-09 14:59:29 +0200
commit87c83dcba5ebab9078a7e625023d7fe37889adb8 (patch)
treee2cc8da14d5c52412c17d572598bcd384baffa71 /bin/heroku
parent24883f7d99b67dd9e9bd40dc4d1aaf6ab5bf9da9 (diff)
parent86be1243f8ae24ac6c0586a694b3788548e9019e (diff)
Merge pull request #1246 from hedgedoc/fix/heroku_pg_ssl
Ignore Postgres SSL errors on Heroku
Diffstat (limited to 'bin/heroku')
-rwxr-xr-xbin/heroku10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/heroku b/bin/heroku
index 908ea4eb..2bb49fbe 100755
--- a/bin/heroku
+++ b/bin/heroku
@@ -6,6 +6,16 @@ cat << EOF > config.json
{
"production": {
+ "db": {
+ "dialect": "postgres",
+ "protocol": "postgres",
+ "dialectOptions": {
+ "ssl": {
+ "require": true,
+ "rejectUnauthorized": false
+ }
+ }
+ }
}
}