fix: add environment helper file
This commit is contained in:
parent
fb4cbfa331
commit
70da7d0677
18 changed files with 21 additions and 52 deletions
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
'use strict'
|
||||
|
||||
const path = require('path')
|
||||
const os = require('os')
|
||||
require('dotenv').config({ path: process.env.NODE_ENV === 'production' ? path.resolve('/etc', 'lamassu', '.env') : path.resolve(__dirname, '../.env') })
|
||||
require('../lib/environment-helper')
|
||||
|
||||
const setEnvVariable = require('../tools/set-env-var')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue