Skip to content

Commit

Permalink
Merge pull request wso2#6065 from DilshanSenarath/issue-23461
Browse files Browse the repository at this point in the history
Fix the hostname resolve issue
  • Loading branch information
Achintha Isuru authored Apr 25, 2024
2 parents 02abc00 + b7097d6 commit 40ec670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/giant-spoons-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/features": patch
---

Fix the hostname resolve issue
2 changes: 1 addition & 1 deletion features/admin.core.v1/configs/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Config {
}

if (skipAuthzRuntimePath) {
return window[ "AppUtils" ]?.getConfig()?.serverOriginWithTenant?.replace("/o", "");
return window[ "AppUtils" ]?.getConfig()?.serverOriginWithTenant?.replace("/o/", "");
}

return window[ "AppUtils" ]?.getConfig()?.serverOriginWithTenant;
Expand Down

0 comments on commit 40ec670

Please sign in to comment.