Skip to content

Commit

Permalink
Chore: CORS - allow app-version header
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed May 17, 2024
1 parent 7a5fcd3 commit 7715dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/packages/nelmio_cors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ nelmio_cors:
origin_regex: true
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD']
allow_headers: ['Content-Type', 'Accept', 'Authorization']
allow_headers: ['Content-Type', 'Accept', 'Authorization', 'X-App-Version']
expose_headers: ['Content-Disposition']
max_age: 3600
'^/asset':
Expand Down

0 comments on commit 7715dfc

Please sign in to comment.