audit log, character list

This commit is contained in:
Dreamgineer
2025-10-23 04:31:57 -04:00 Unverified
parent ac69b256e3
commit fa25a97306
35 changed files with 1305 additions and 872 deletions
+12
View File
@@ -0,0 +1,12 @@
import { apiAuthCheck } from "@/lib/auth";
import { sse } from "@/lib/utils";
export async function GET(
_req: Request,
{ params }: { params: Promise<{ topic: string }> },
) {
if (!(await apiAuthCheck()))
return new Response("Unauthorized", { status: 401 });
const { topic } = await params;
return sse.new(topic);
}