Fix logout redirects and unauthenticated home rendering

This commit is contained in:
Linus Rath
2026-03-19 17:01:27 +01:00
parent 9fa851a674
commit 0b721661e9
4 changed files with 179 additions and 8 deletions
+7
View File
@@ -0,0 +1,7 @@
export function replaceWindowLocation(url: string): void {
if (typeof window === 'undefined') {
return;
}
window.location.replace(url);
}