Initial Commit

Commit pertama, memindahkan repository dari github ke gitea.
This commit is contained in:
dicky arya pratama committed 2026-11-04 17:18:53 +07:00
commit 13a47fbebf
41 files changed
+12327

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { isAuthenticated } from "@/lib/auth";
export async function GET() {
const authed = await isAuthenticated();
if (!authed) {
return NextResponse.json({ authenticated: false }, { status: 401 });
}
return NextResponse.json({ authenticated: true, user: { username: "Aghatis" } });
}