Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix: graphql missing options route resulting in failed cors preflight checks in production (#8987)
GraphQL currently doesn't pass CORS checks as we don't expose an OPTIONS endpoint which is used for browser preflights. Should also fix situations like this https://github.com/payloadcms/payload/issues/8974
P
Paul committed
6b9f178fcb6613ff5edc7f45f12842332ae86e2f
Parent: cca6746
Committed by GitHub <noreply@github.com>
on 11/4/2024, 7:20:09 PM