Fix usage of getPathPrefix

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-13 14:15:10 +04:00
parent 6db862b470
commit 5188f9638b
5 changed files with 11 additions and 11 deletions

View File

@@ -172,7 +172,7 @@ export function useRequestAccessCallback() {
}
toast(successToastArgs(__));
window.location.href = window.location.origin + (getPathPrefix() || "/") + location.pathname;
window.location.href = window.location.origin + getPathPrefix() + location.pathname;
},
onError: (error) => {
toast(errorToastArgs(__, error));