Skip to content

Commit

Permalink
Merge pull request #417 from marko-bekhta/fix/adjust-the-cors-configu…
Browse files Browse the repository at this point in the history
…ration

Adjust quarkiverse CORS configuration
  • Loading branch information
marko-bekhta authored Feb 14, 2025
2 parents 7d4e14c + a0cfc09 commit f9156a8
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 @@ -59,7 +59,7 @@ indexing.batch-size=10
# More secure HTTP defaults
########################
quarkus.http.cors=true
quarkus.http.cors.origins=https://quarkus.io,/https://.*\\\\.quarkus\\\\.io/,/https://quarkus-(.+-)?pr-.*-preview\\\\.surge\\\\.sh/,https://docs.quarkiverse.io/
quarkus.http.cors.origins=https://quarkus.io,/https://.*\\\\.quarkus\\\\.io/,/https://quarkus-(.+-)?pr-.*-preview\\\\.surge\\\\.sh/,https://docs.quarkiverse.io,/https://quarkiverse-(.+-)?pr-.*-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 f9156a8

Please sign in to comment.