refactor: serve static frontend with Go APIs

This commit is contained in:
brother7 committed 2026-08-16 20:47:45 +08:00
1 parent 763d2f0648
commit b14b4fced7
101 files changed
+963 -3928

No files matched your search

+3 -6
View File
@@ -1,9 +1,6 @@
import { LogManager } from "@/components/log-manager";
import { requireSuperAdminUser } from "@/lib/server/auth/current-user";
import { BrowserAuthGuard } from "@/components/browser-auth";
export const dynamic = "force-dynamic";
export default async function LogsPage() {
await requireSuperAdminUser();
return <LogManager />;
export default function LogsPage() {
return <BrowserAuthGuard role="super"><LogManager /></BrowserAuthGuard>;
}