Skip to content

Commit

Permalink
#74: Attempt to fix cors
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVanDyck committed Aug 5, 2024
1 parent aa46fcb commit 6b14029
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions config/common/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@ logging:
server:
use-forward-headers: true

grails:
cors:
enabled: true
allowedOriginPatterns: [ "https://.*.${common.domain}" ]

security:
cors:
enable: true
authenticated:
allowedOriginPatterns: [ "https://.*.${common.domain}" ]
unauthenticated:
allowedOriginPatterns: [ "https://.*.${common.domain}" ]
allowCredentials: false
apikey:
enabled: true
auth:
Expand Down

0 comments on commit 6b14029

Please sign in to comment.