Skip to content

Commit

Permalink
load .env in knexconfig for development
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed May 5, 2021
1 parent 231cf3a commit 8eed3a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions knexfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('dotenv').config()

module.exports = {
client: 'pg',
connection: process.env.DATABASE_URL,
Expand Down

0 comments on commit 8eed3a0

Please sign in to comment.