Care to share some painfully funny debugging stories?
John Alcher
Posted on July 4, 2020
Let me start:
I have a React + Django API that sits behind Nginx that I'm trying to containerize with Docker. For some reason, React can't get pass the CORS policies of the API, even though I can manually open the API endpoints on my browser without any problems. I even tried using CURL and HTTPie to issue the requests, and I can successfully get the response with the appropriate Access-Control-Allow-Origin
header.
The culprit? UBlock Origin tags the endpoint /api/ping/
(that is used within the API) as an advertisement server. Big yikes!
💖 💪 🙅 🚩
John Alcher
Posted on July 4, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
discuss So should I release a teaser for my roblox game monsters ahead? Gimme some advice
November 29, 2024