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

Chrome Extension says "No 'Access-Control-Allow-Origin' header is present on the requested resource." #92

Closed
groovecoder opened this issue Jan 3, 2015 · 0 comments
Labels

Comments

@groovecoder
Copy link
Member

Not sure how this was working before. But the fix is probably to use django-cors-headers.

Steps to reproduce:

  1. Installed the Chrome extension
  2. Go to any old github issue

Expected results:
Bid form shown

Actual results:
Extension makes this request:

OPTIONS https://127.0.0.1:8443/bid/?url=https%3A%2F%2Fgithub.com%2Fcodesy%2Fcodesy%2Fissues%2F75

and says

XMLHttpRequest cannot load https://127.0.0.1:8443/bid/?url=https%3A%2F%2Fgithub.com%2Fcodesy%2Fcodesy%2Fissues%2F75. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://cchpcdoagjopolebepldmfpkcbfoigok' is therefore not allowed access. The response had HTTP status code 401.
@groovecoder groovecoder added the bug label Jan 3, 2015
groovecoder added a commit to groovecoder/codesy that referenced this issue Jan 3, 2015
groovecoder added a commit that referenced this issue Jan 3, 2015
fix #92 - allow all origins via django-cors-headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant