Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow CORS requests to the localhost api server #109

Merged

Conversation

sleighter
Copy link
Contributor

  • Sets Access-Control-Allow-Origin header to ‘*’ for all
    blink2Control2 local api endpoints
  • Allows remote-hosted, browser-based
    javascript to make requests to the local api

 - Sets Access-Control-Allow-Origin header to ‘*’ for all
   blink2Control2 local api endpoints
 - Allows remote-hosted, browser-based
   javascript to make requests to the local api
@sleighter
Copy link
Contributor Author

If this is not a desired default behavior, it could be controlled by a setting.

@todbot todbot merged commit 2aca34a into todbot:master Jan 25, 2019
@todbot
Copy link
Owner

todbot commented Jan 25, 2019

Looks good to me. Thanks for the PR!

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

Successfully merging this pull request may close these issues.

2 participants