Files
stack/apps
Jason Woltje 394f4f9fab
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
fix(auth): add CORS headers to BetterAuth raw HTTP handler
The auth handler uses Fastify's onRequest hook with reply.hijack(),
which bypasses all NestJS middleware including CORS. Manually set
Access-Control-Allow-* headers on the raw response and handle OPTIONS
preflight before delegating to BetterAuth's node handler.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 11:47:02 -05:00
..