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.