init project portal web

This commit is contained in:
Sweli Giri
2025-04-15 13:56:54 +07:00
parent 9a25243035
commit 8b15dcebf8
122 changed files with 13965 additions and 1 deletions

10
app/api/cookies/route.ts Normal file
View File

@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { cookies } from "next/headers";
export async function GET() {
const cookieStore = cookies();
const credential = JSON.parse(cookieStore.get("credential")?.value || "");
return NextResponse.json({ credential });
}