Skip to content

Commit

Permalink
Merge pull request Sylius#22 from sdleiw/fix-config-nelmio-cors-bundle
Browse files Browse the repository at this point in the history
change allow header to content type
  • Loading branch information
lchrusciel committed Oct 16, 2017
2 parents af2c3e9 + f41b345 commit 82ff980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/config.yml
Expand Up @@ -84,6 +84,6 @@ nelmio_cors:
paths:
'^/shop-api/':
allow_origin: ['*']
allow_headers: ['X-Custom-Auth']
allow_headers: ['Content-Type']
allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
max_age: 3600

0 comments on commit 82ff980

Please sign in to comment.