Quick fix for #4093 - make sure the App ID/App URL returned for deployed apps is always lowercase, as URLs are not case sensitive and should not be compared as such.

This commit is contained in:
Michael Drury 2022-01-18 20:54:19 +00:00
parent e3d8302194
commit 9d5d8284cb
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ exports.getDeployedApps = async () => {
for (let [key, value] of Object.entries(json)) { for (let [key, value] of Object.entries(json)) {
if (value.url) { if (value.url) {
value.url = value.url.toLowerCase() value.url = value.url.toLowerCase()
apps[key] = value apps[key.toLowerCase()] = value
} }
} }
return apps return apps