Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config.groovy configuration example #42

Open
penrillian-chrisa opened this issue May 26, 2016 · 3 comments
Open

Config.groovy configuration example #42

penrillian-chrisa opened this issue May 26, 2016 · 3 comments

Comments

@penrillian-chrisa
Copy link

Hi

I'm struggling to configure Access-Control-Allow-Headers to allow the standard values, plus a new x-abc, i.e. [origin, authorization, accept, content-type, x-requested-with, x-abc]

Please could you provide an example Config.groovy configuration?

@davidtinker
Copy link
Owner

I am out of town with limited internet. Will have a look on Sunday when I
get back.

On Thu, 26 May 2016 at 6:02 PM Chris Allison [email protected]
wrote:

Hi

I'm struggling to configure Access-Control-Allow-Headers to allow the
standard values, plus a new x-abc, i.e. [origin, authorization, accept,
content-type, x-requested-with, x-abc]

Please could you provide an example Config.groovy configuration?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#42

@penrillian-chrisa
Copy link
Author

Hi David, sorry to bug you, but did you get a chance to have a look at this?

@davidtinker
Copy link
Owner

Sorry forgot .. this should work:

cors.headers = ['Access-Control-Allow-Headers': 'origin, authorization, accept, content-type, x-requested-with, x-abc']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants