Skip to content

Commit

Permalink
Merge pull request #100 from communitiesuk/BAU_CORS_fix
Browse files Browse the repository at this point in the history
Adding CORS configuration
  • Loading branch information
aaronwilliamsv1 authored Dec 7, 2023
2 parents 4a9dac0 + baef18b commit 576186a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/pre-award/copilot/environments/addons/form-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ Resources:
ServerSideEncryptionConfiguration:
- ServerSideEncryptionByDefault:
SSEAlgorithm: AES256
CorsConfiguration:
CorsRules:
- AllowedHeaders:
- '*'
AllowedMethods:
- PUT
AllowedOrigins:
- "https://*.access-funding.test.levellingup.gov.uk"
- "https://*.access-funding.levellingup.gov.uk"
MaxAge: '3000'
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
Expand Down

0 comments on commit 576186a

Please sign in to comment.