chore: build fixes

This commit is contained in:
Taranto 2022-05-04 22:24:52 +01:00
parent e4cf1d6297
commit ebfd3f433a
16 changed files with 16 additions and 7 deletions

View file

@ -3,6 +3,7 @@ const path = require('path')
const http = require('http')
const https = require('https')
const argv = require('minimist')(process.argv.slice(2))
const os = require('os')
require('dotenv').config({ path: process.env.NODE_ENV === 'production' ? path.resolve(os.homedir(), '.lamassu', '.env') : path.resolve(__dirname, '../.env') })