Skip to content

Commit

Permalink
Expose custom X- headers in CORS config
Browse files Browse the repository at this point in the history
  • Loading branch information
fracz committed May 3, 2020
1 parent c8bd1ec commit c323b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ nelmio_cors:
allow_origin: '%cors_allow_origin_regex%'
allow_headers: ['*']
allow_methods: ['POST', 'PUT', 'PATCH', 'HEAD', 'GET', 'DELETE']
expose_headers: ['X-Total-Count', 'X-Count', 'X-Min-Timestamp', 'X-Max-Timestamp']
max_age: 3600

parameters:
Expand Down

0 comments on commit c323b23

Please sign in to comment.