- creating Alternative to SyncManager
- fix: refreshing with FF now it works!
This commit is contained in:
@@ -6,13 +6,17 @@ switch (process.env.NODE_ENV) {
|
||||
case 'test':
|
||||
path = `${__dirname}/../../.env.test`
|
||||
break
|
||||
case 'production':
|
||||
path = `${__dirname}/../../.env.production`
|
||||
case 'development':
|
||||
path = `${__dirname}/../../.env.development`
|
||||
break
|
||||
default:
|
||||
path = `${__dirname}/../../.env.development`
|
||||
path = `${__dirname}/../../.env.production`
|
||||
}
|
||||
dotenv.config({ path })
|
||||
|
||||
console.log('path', path)
|
||||
console.log('process.env.APP_ID', process.env.APP_ID)
|
||||
|
||||
|
||||
export const APP_ID = process.env.APP_ID
|
||||
export const LOG_LEVEL = process.env.LOG_LEVEL
|
||||
|
||||
Reference in New Issue
Block a user