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

API: Add some CORS headers to netlify config for json files #384

Closed
webmasterkai opened this issue Apr 3, 2020 · 0 comments · Fixed by #389
Closed

API: Add some CORS headers to netlify config for json files #384

webmasterkai opened this issue Apr 3, 2020 · 0 comments · Fixed by #389
Labels
API Data Feed

Comments

@webmasterkai
Copy link
Contributor

I think something like the following added to netlify.toml

[[headers]]
  for = "/*.json"
  [headers.values]
    Access-Control-Allow-Origin = "*"
@webmasterkai webmasterkai added the API Data Feed label Apr 3, 2020
@webmasterkai webmasterkai changed the title Add some CORS headers to netlify config for json files API: Add some CORS headers to netlify config for json files Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Data Feed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant