Breaking CORS by "trying to fix it"
Okay, that's another article about CORS on the internet.
CORS errors are definitely one of the most frustrating errors we face when working on web applications. I don't know what HTTP wizard or how expert you are, but I am sure that you definitely react like Michael Scott here:
Meme shamelessly stolen from this blog
We may break "CORS" or at least break the security barriers it adds by trying to fix it (without understanding it correctly).