Found small issue with encoding uris, simple fix.
This commit is contained in:
parent
7fc0122689
commit
cfe3c6e3d2
|
@ -29,7 +29,7 @@ function objectStoreUrl() {
|
||||||
|
|
||||||
async function checkForSelfHostedURL(ctx) {
|
async function checkForSelfHostedURL(ctx) {
|
||||||
// the "appId" component of the URL may actually be a specific self hosted URL
|
// the "appId" component of the URL may actually be a specific self hosted URL
|
||||||
let possibleAppUrl = `/${ctx.params.appId}`
|
let possibleAppUrl = `/${encodeURI(ctx.params.appId)}`
|
||||||
const apps = await getDeployedApps()
|
const apps = await getDeployedApps()
|
||||||
if (apps[possibleAppUrl] && apps[possibleAppUrl].appId) {
|
if (apps[possibleAppUrl] && apps[possibleAppUrl].appId) {
|
||||||
return apps[possibleAppUrl].appId
|
return apps[possibleAppUrl].appId
|
||||||
|
|
Loading…
Reference in New Issue