link-stack/apps/leafcutter/app/api/link/auth/route.ts

14 lines
334 B
TypeScript
Raw Normal View History

2023-08-25 07:11:33 +00:00
import { NextRequest, NextResponse } from "next/server";
export const GET = async (req: NextRequest) => {
2025-01-22 17:50:38 +01:00
const validDomains = "localhost";
2023-08-25 07:11:33 +00:00
2025-01-22 17:50:38 +01:00
return NextResponse.json({ response: "ok" });
2023-08-25 07:11:33 +00:00
};
export const POST = async (req: NextRequest) => {
2025-01-22 17:50:38 +01:00
const validDomains = "localhost";
2023-08-25 07:11:33 +00:00
2025-01-22 17:50:38 +01:00
return NextResponse.json({ response: "ok" });
2023-08-25 07:11:33 +00:00
};