summaryrefslogtreecommitdiff
path: root/bin/heroku
diff options
context:
space:
mode:
authorDavid Mehren2021-05-07 21:42:49 +0200
committerDavid Mehren2021-05-07 21:43:06 +0200
commit86be1243f8ae24ac6c0586a694b3788548e9019e (patch)
treefcd7c3c646b674dc304bdfdfcf6ca5c0cccd82fa /bin/heroku
parent3e836d815baf3f98fb6b263b5aa123d81f78fb9c (diff)
Ignore Postgres SSL errors on Heroku
The connection to Heroku's Postgres instances must use SSL, but not check the certificate. This adds the necessary configuration to the Heroku setup script. Fixes #1245 Signed-off-by: David Mehren <git@herrmehren.de>
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
+ }
+ }
+ }
}
}