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

@@ -11,7 +11,7 @@ export function RootErrorBoundary() {
const search = new URLSearchParams();
if (location.pathname !== getPathPrefix() || location.search !== "") {
if (location.pathname !== `${getPathPrefix()}/` || location.search !== "") {
search.set("continue", window.location.href);
}