mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
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>
This commit is contained in:
parent
3e836d815b
commit
86be1243f8
1 changed files with 10 additions and 0 deletions
10
bin/heroku
10
bin/heroku
|
@ -6,6 +6,16 @@ cat << EOF > config.json
|
|||
|
||||
{
|
||||
"production": {
|
||||
"db": {
|
||||
"dialect": "postgres",
|
||||
"protocol": "postgres",
|
||||
"dialectOptions": {
|
||||
"ssl": {
|
||||
"require": true,
|
||||
"rejectUnauthorized": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue