1
0
Fork 0
mirror of synced 2024-07-01 20:41:03 +12:00

catch when no couchDB url passed

This commit is contained in:
Martin McKeaveney 2021-08-18 11:55:19 +01:00
parent acff289940
commit 6d5fa8f9c7

View file

@ -159,6 +159,8 @@ exports.getDeployedAppID = appId => {
}
exports.getCouchUrl = () => {
if (!env.COUCH_DB_URL) return
// username and password already exist in URL
if (env.COUCH_DB_URL.includes("@")) {
return env.COUCH_DB_URL