FACK1 / mo-raz

0 stars 1 forks source link

SSL for production #37

Open jema28 opened 5 years ago

jema28 commented 5 years ago

Have a look at this note from Matt Davis regarding SSLs:

When you connect to a database, in the options parameter you pass, there is a key called ssl. When you are doing a local database this should be set to false but when you are using a heroku database it needs to be set to true... look in this file: https://github.com/foundersandcoders/ws-database-testing/blob/master/src/database/db_connection.js for help or ask @Samaamro20

m4v15 commented 5 years ago

Alternatively as @ghassanmas explained if you have a querystring at the end of your database url with ?ssl=true the build will work