5 lines
152 B
JavaScript
5 lines
152 B
JavaScript
|
const path = require('path')
|
||
|
require('dotenv').config({
|
||
|
path: path.join(__dirname, process.env.NODE_ENV === 'test' ? './test/test.env' : './.env')
|
||
|
})
|