summaryrefslogtreecommitdiff
path: root/bin/heroku
diff options
context:
space:
mode:
authorMax Wu2016-12-12 13:22:04 +0800
committerGitHub2016-12-12 13:22:04 +0800
commit159be6a7c775651cf2f9d4625d3a64ddd1991f32 (patch)
tree7c9a4c17cc1a71ca4ad1888814d52c767439cc8f /bin/heroku
parentbb3ed8e249ebf8b8c6801cb81610f127db40b580 (diff)
parent5282bf491e299e50f65484d987558e7bfc031c4b (diff)
Merge pull request #277 from hackmdio/heroku-sequelize
Fix heroku production postgres setting
Diffstat (limited to 'bin/heroku')
-rwxr-xr-xbin/heroku8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/heroku b/bin/heroku
index f30b2b23..0375e9e7 100755
--- a/bin/heroku
+++ b/bin/heroku
@@ -19,10 +19,16 @@ module.exports = {
EOF
- cat << EOF > config.json
+ cat << EOF > config.json
{
"production": {
+ "db": {
+ "database": "${DATABASE_URL}",
+ "dialectOptions": {
+ "ssl": true
+ }
+ }
}
}