// CORS preflight for the logyou.de landing-page lead intake. Nitro's // method-suffixed routes mean landing-leads.post.ts never sees OPTIONS — // this sibling route answers the browser preflight with 204 + CORS headers. import { applyLandingLeadCors } from '../../utils/landingLeadCors' export default defineEventHandler((event) => { applyLandingLeadCors(event) return sendNoContent(event, 204) })