style: format code biome

This commit is contained in:
openhands
2026-07-13 21:57:41 +02:00
parent 8efd032cc6
commit df38dccbf1
735 changed files with 128321 additions and 120870 deletions
+7 -4
View File
@@ -1,8 +1,11 @@
export interface ProxyToken {
rank?: unknown;
rank?: unknown;
}
export function shouldRedirectAdminRequest(pathname: string, token: ProxyToken | null): boolean {
if (pathname !== "/admin" && !pathname.startsWith("/admin/")) return false;
return token === null;
export function shouldRedirectAdminRequest(
pathname: string,
token: ProxyToken | null,
): boolean {
if (pathname !== "/admin" && !pathname.startsWith("/admin/")) return false;
return token === null;
}