first commit

This commit is contained in:
mstfyldz
2026-08-16 17:18:23 +03:00
commit 5ace6898b6
61 changed files with 12065 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { isAdminAuthenticated, ADMIN_USERNAME } from "@/lib/auth";
export async function GET() {
const authenticated = await isAdminAuthenticated();
return NextResponse.json({
authenticated,
username: authenticated ? ADMIN_USERNAME : null,
});
}