Created
November 25, 2015 15:20
-
-
Save sdieunidou/7e13fae369a1d6d164bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nelmio_cors: | |
defaults: | |
allow_credentials: false | |
allow_origin: [] | |
allow_headers: [] | |
allow_methods: [] | |
expose_headers: [] | |
max_age: 0 | |
hosts: [] | |
paths: | |
'^/api/': | |
allow_origin: ['*'] | |
allow_headers: ['X-Custom-Auth'] | |
allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
'^/oauth/': | |
allow_origin: ['*'] | |
allow_headers: ['X-Custom-Auth'] | |
allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment