Skip to content

Commit

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

production: {
client: "pg",
ssl: {
rejectUnauthorized: false
},
connection: process.env.DATABASE_URL,
migrations: {
directory: __dirname + '/migrations'
Expand Down

0 comments on commit 0872b41

Please sign in to comment.