Initial Kelola Bumi website
This commit is contained in:
7
app/api/contact/captcha/route.ts
Normal file
7
app/api/contact/captcha/route.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { generateCaptchaChallenge } from "../../../../lib/contact-captcha";
|
||||
|
||||
export async function GET() {
|
||||
const challenge = generateCaptchaChallenge();
|
||||
return NextResponse.json(challenge);
|
||||
}
|
||||
Reference in New Issue
Block a user