diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java index 7f25b62176285..50f45d0b1f383 100644 --- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java +++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/cors/CORSConfig.java @@ -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