Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Adding header to Access-Control-Allow-Headers

default discord avatar
devpersonlast year
1

Is there a way to do this without disabling the built in cors handling? And how would I do that if necessary, as removing

cors

from the config file does not seem to help

  • default discord avatar
    notchrlast year

    @devperson You can add custom CORS configuration to your server.ts file



    On the express instance

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.