Vectrum
Sign In
8 lines · 233 Bytes · TypeScript
import { corsJson, preflight } from "@/lib/cors";
import { authorizationServerMetadata } from "@/lib/oauth";

export async function GET() {
  return corsJson(await authorizationServerMetadata());
}

export const OPTIONS = preflight;