Not sure CorsConfig fields, or others, will accept regex and a list. I think they should if not. #2374
-
I'm setting up some simple configuration for CORS on my graphql-mesh instance with something like
and it's failing (meaning I get a CORS error). If I have just the explicit url
it works fine, but if I have just the regex
it fails. The type of origin is Thanks in advance for any thoughts. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think it is not supported by YAML syntax itself. Not sure how to solve it. Maybe a JS file can be used as a configuration file "mesh.config.js" |
Beta Was this translation helpful? Give feedback.
I think it is not supported by YAML syntax itself. Not sure how to solve it. Maybe a JS file can be used as a configuration file "mesh.config.js"