-
Hey, I was hoping to be able to set the headers in the .meshrc.yaml to whitelist origins but I can't seem to figure out how to do so. I've tried various combinations like this, but the headers don't seem to be coming back when I make requests to the mesh API.
Am I missing something obvious? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Those headers are the ones sent with outgoing requests to OData API. You can implement your own GraphQL server that uses Mesh's schema with custom CORS configuration. |
Beta Was this translation helpful? Give feedback.
-
Now we can provide |
Beta Was this translation helpful? Give feedback.
Now we can provide
cors
settings forserve
command;https://graphql-mesh.com/docs/recipes/as-gateway