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

feat(cors): enable cors/options preflight for all API routes #5

Closed
wants to merge 1 commit into from

Conversation

landonreed
Copy link
Member

@zbouziane here's an update for cors to fix #2.

This adds config properties to customize the cors origins, headers, and methods. It also adds SparkUtils.enableCors and cleans up some lingering code in DataManager.

@landonreed
Copy link
Member Author

@zbouziane could you take a look at this PR and let me know if it solves your issue with CORS.

bonjourmauko referenced this pull request in etalab/transport-datatools-server Jul 19, 2017
@landonreed
Copy link
Member Author

@zbouziane, is this still something you all need? Thanks.

@landonreed
Copy link
Member Author

Closing this PR due to inaction.

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

Successfully merging this pull request may close these issues.

Preflight request with the OPTIONS are needed
1 participant