Use regex for CORS allowed domains

It would be nice if a pattern could be specified for allowed CORS domains, instead of individual URLs.

Our use case is a development pipeline where pull requests automatically spin up preview servers. These apps have a predictable domain pattern, so it would be more convenient to specify the pattern in the CORS configuration than it is to add each preview domain individually.

Thanks Andrew can you open a ticket in the Tyk GH repo

Ok great. I submitted a request [TT-1997] - CORS: Use regex pattern for allowed domains · Issue #3167 · TykTechnologies/tyk · GitHub

Cheers, we’ve added it to our community board.