fix: preserve KOC portal path in delegation links
This commit is contained in:
@@ -543,7 +543,9 @@ export default function Home() {
|
||||
};
|
||||
|
||||
const delegationUrl = (shareToken: string) => {
|
||||
const url = new URL(window.location.origin);
|
||||
const url = new URL(window.location.href);
|
||||
url.search = "";
|
||||
url.hash = "";
|
||||
url.searchParams.set("share", shareToken);
|
||||
return url.toString();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user