mirror of
https://github.com/Permissionless-Software-Foundation/bch-email-api.git
synced 2026-09-21 16:52:04 -07:00
Allowing server to start without iRedMail postgres connection
This commit is contained in:
+3
-1
@@ -2,7 +2,9 @@
|
||||
let common
|
||||
try {
|
||||
common = require('./env/common')
|
||||
} catch (err) {}
|
||||
} catch (err) {
|
||||
common = require('./env/min-config')
|
||||
}
|
||||
|
||||
// Default to development environment.
|
||||
const env = process.env.NODE_ENV || 'development'
|
||||
|
||||
Reference in New Issue
Block a user