Skip to content

Commit

Permalink
Update Vert.x to 4.5.4
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Mar 5, 2024
1 parent c34070f commit 7c6bdfc
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ private String buildCorsRegexFromConfig() {
return "";
}
if (config.getCorsAllowedDomains().contains("*")) {
return ".*";
return ".*://.*";
} else {
final StringJoiner stringJoiner = new StringJoiner("|");
config.getCorsAllowedDomains().stream().filter(s -> !s.isEmpty()).forEach(stringJoiner::add);
Expand Down
Loading

0 comments on commit 7c6bdfc

Please sign in to comment.