We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542efb8 commit ae25084Copy full SHA for ae25084
core/core.ts
@@ -472,9 +472,11 @@ export class Core {
472
const urlPath = msg.data.path.startsWith("/")
473
? msg.data.path.slice(1)
474
: msg.data.path;
475
- let url = `${env.APP_URL}${urlPath}`;
+ let url;
476
if (msg.data.orgSlug) {
477
- url += `?org=${msg.data.orgSlug}`;
+ url = `${env.APP_URL}organizations/${msg.data.orgSlug}/${urlPath}`;
478
+ } else {
479
+ url = `${env.APP_URL}${urlPath}`;
480
}
481
await this.messenger.request("openUrl", url);
482
});
0 commit comments