add note
This commit is contained in:
parent
d23abe66c5
commit
98d283d118
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ app.engine('html', require('ejs').renderFile)
|
||||||
app.use(morgan('combined'))
|
app.use(morgan('combined'))
|
||||||
|
|
||||||
var mongoURL = process.env.OPENSHIFT_MONGODB_DB_URL || process.env.MONGO_URL
|
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 = ''
|
var mongoURLLabel = ''
|
||||||
|
|
||||||
if (mongoURL == null && process.env.DATABASE_SERVICE_NAME) {
|
if (mongoURL == null && process.env.DATABASE_SERVICE_NAME) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue