This commit is contained in:
Victor 2016-08-18 23:21:35 +02:00
parent d23abe66c5
commit 98d283d118
No known key found for this signature in database
GPG key ID: 001D071AFAE19E97

View file

@ -15,6 +15,8 @@ app.engine('html', require('ejs').renderFile)
app.use(morgan('combined'))
var mongoURL = process.env.OPENSHIFT_MONGODB_DB_URL || process.env.MONGO_URL
// NOTE: when mongoURL was provided, we never set mongoURLLabel, which means it
// will be empty in the UI. (broken by default)
var mongoURLLabel = ''
if (mongoURL == null && process.env.DATABASE_SERVICE_NAME) {