Replace CorsHandler.create(String)

Proprietary

Vert.x 5 removed CorsHandler.create(String allowedOriginPattern). CorsHandler.create("*") becomes CorsHandler.create(), which allows every origin, and any other pattern becomes CorsHandler.create().addOriginWithRegex(pattern).

io.moderne.vertx.MigrateCorsHandlerOrigin
mod run . --recipe=io.moderne.vertx.MigrateCorsHandlerOrigin

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.