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

AD.png still returns a CORS error #55

Closed
donbraffitt opened this issue Oct 19, 2018 · 2 comments
Closed

AD.png still returns a CORS error #55

donbraffitt opened this issue Oct 19, 2018 · 2 comments

Comments

@donbraffitt
Copy link

I've got 51 of the 52 cards now loading correctly. Just one still returns a CORS error at test-cors.org:

https://deckofcardsapi.com/static/img/AD.png

Don

@crobertsbmw
Copy link
Owner

Interesting. I added a blanket nginx cors header for everything in the /static/ folder. So I don't know why it wouldn't be working for that one.
One other thing of note is that the api doesn't return AD.png but rather return aceDiamonds.png because ad blockers like to think that AD.png is an advertisement rather than the ace of diamonds. Maybe that's somehow related?

@donbraffitt
Copy link
Author

donbraffitt commented Oct 19, 2018 via email

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

No branches or pull requests

2 participants