Merge branch 'dev' into feat-dockerize-l-s

This commit is contained in:
Rafael Taranto 2022-04-28 17:14:30 +01:00 committed by GitHub
commit a1f2485b19
54 changed files with 819 additions and 272 deletions

View file

@ -3,6 +3,10 @@ const _ = require('lodash/fp')
const path = require('path')
require('dotenv').config({ path: path.resolve(__dirname, '../.env') })
const _ = require('lodash/fp')
const path = require('path')
require('dotenv').config({ path: process.env.NODE_ENV === 'production' ? path.resolve(os.homedir(), '.lamassu', '.env') : path.resolve(__dirname, '../.env') })
const db = require('../lib/db')
const migrate = require('../lib/migrate')
const { asyncLocalStorage, defaultStore } = require('../lib/async-storage')