Skip to content

Commit

Permalink
Add missing trailing slash to CORS pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Nov 8, 2023
1 parent f62e81d commit 33132ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ uris.quarkusio.local=file:${uris.local.default-root}/quarkusio

# More secure HTTP defaults
quarkus.http.cors=true
quarkus.http.cors.origins=https://quarkus.io,/https://.*\.quarkus\.io/,/https://quarkus-website-pr-[0-9]+-preview\.surge\.sh
quarkus.http.cors.origins=https://quarkus.io,/https://.*\.quarkus\.io/,/https://quarkus-website-pr-[0-9]+-preview\.surge\.sh/
quarkus.http.cors.methods=GET
quarkus.http.header."X-Content-Type-Options".value=nosniff
quarkus.http.header."X-Frame-Options".value=deny
Expand Down

0 comments on commit 33132ad

Please sign in to comment.