feat(housekeeping): cut over administration to ase

This commit is contained in:
Simo committed 2026-08-30 20:35:22 +02:00
1 parent c9e35cf602
commit 2b8f73a91d
457 files changed
+589 -55936

No files matched your search

+2 -2
View File
@@ -3,10 +3,10 @@ export interface ProxyToken {
rank?: unknown;
}
export function shouldRedirectAdminRequest(
export function shouldRedirectHousekeepingRequest(
pathname: string,
token: ProxyToken | null,
): boolean {
if (pathname !== "/admin" && !pathname.startsWith("/admin/")) return false;
if (pathname !== "/ase" && !pathname.startsWith("/ase/")) return false;
return token === null;
}