Skip to content

Commit

Permalink
Merge pull request quarkusio#24194 from languitar/patch-1
Browse files Browse the repository at this point in the history
Document regex capabilities for CORS origins
  • Loading branch information
geoand authored Mar 9, 2022
2 parents a0dbd8f + 4d4b76c commit abc25e6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public class CORSConfig {
/**
* Origins allowed for CORS
*
* Comma separated list of valid URLs. ex: http://www.quarkus.io,http://localhost:3000
* Comma separated list of valid URLs, e.g.: http://www.quarkus.io,http://localhost:3000
* In case an entry of the list is surrounded by forward slashes,
* it is interpreted as a regular expression.
* The filter allows any origin if this is not set.
*
* default: returns any requested origin as valid
Expand Down

0 comments on commit abc25e6

Please sign in to comment.