Skip to content

Commit 8eed3a0

Browse files
committed
load .env in knexconfig for development
1 parent 231cf3a commit 8eed3a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

knexfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require('dotenv').config()
2+
13
module.exports = {
24
client: 'pg',
35
connection: process.env.DATABASE_URL,

0 commit comments

Comments
 (0)