Fix bad redirect after request all

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-06 11:44:27 +01:00
parent 63804a233f
commit fea53b589a

View File

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