Fix dotenv path in knexfile
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
const path = require('path');
|
||||||
|
|
||||||
require('dotenv').config({
|
require('dotenv').config({
|
||||||
path: '..'
|
path: path.resolve(__dirname, '../.env')
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update with your config settings.
|
// Update with your config settings.
|
||||||
|
|||||||
Reference in New Issue
Block a user