Closed df-wg closed 1 week ago
A previous effort, #880, gave the initial steps to enabling multiple wildcards in cors.allow_origins. This PR takes it further, ensuring that we can handle a config with the configuration:
cors.allow_origins
name: "CORS_ALLOW_ORIGINS" value: "https://*.example.com,https://example.com,https://*.example.io:*,https://*.example.org,https://*.mytest.amplifyapp.com"
Closes #879
Bench with wildcard:
Bench without wildcard:
Motivation and Context
A previous effort, #880, gave the initial steps to enabling multiple wildcards in
cors.allow_origins
. This PR takes it further, ensuring that we can handle a config with the configuration:Closes #879
Checklist