Skip to content

Commit

Permalink
update knexfile
Browse files Browse the repository at this point in the history
  • Loading branch information
leightkt committed Mar 11, 2021
1 parent 2140b60 commit aeb5f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions database/Database.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const config = require('../knexfile')[process.env.NODE_ENV || 'development']
// config.ssl = { rejectUnauthorized: false }
// const config = require('../knexfile').development
const knex = require('knex')
const database = knex(config)
Expand Down
2 changes: 1 addition & 1 deletion knexfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Update with your config settings.
const pg = require('pg')
// pg.defaults.ssl = true
pg.defaults.ssl = true

module.exports = {

Expand Down

0 comments on commit aeb5f24

Please sign in to comment.