Allowing server to start without iRedMail postgres connection

This commit is contained in:
Chris Troutner
2019-01-21 17:26:27 -08:00
parent c0346f2e32
commit 94bd7811a1
3 changed files with 15 additions and 6 deletions
+3 -1
View File
@@ -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'