Switch to different navigation style

This commit is contained in:
Jon Staab
2026-02-27 14:40:51 -08:00
parent 247a5c0ec0
commit 034572cb58
24 changed files with 724 additions and 335 deletions
+3
View File
@@ -74,6 +74,9 @@ async function request<T>(path: string, init?: RequestInit): Promise<T> {
} catch {
// ignored
}
if (response.status === 403 && path.startsWith("/admin/") && typeof window !== "undefined") {
window.location.replace("/relays")
}
throw new ApiError(message, response.status)
}