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

CLI: Allow configuring CORS when running webhost locally #1012

Closed
christopheranderson opened this Issue Nov 30, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@christopheranderson
Member

christopheranderson commented Nov 30, 2016

We can't test Azure Functions being used in HTTP scenarios like SPAs without CORS being able to be configured to something like "http://localhost:8080" or whatever. Ideally we could set this list; in the worst case we could allow all.

@lindydonna lindydonna changed the title from [CLI] Allow configuring CORS when running webhost locally to CLI: Allow configuring CORS when running webhost locally Dec 16, 2016

@ahmelsayed

This comment has been minimized.

Contributor

ahmelsayed commented Dec 21, 2016

func host start --cors http://localhost:8080,http://www.test-cors.org,https://functions.azure.com

func host start --cors * for all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment