3 ms·
That's what I tend to stick to, CORS is a headache and very easy to do wrong and you shouldn't do it unless you make an open API that can be directly integrated
by Cthulhu_ 5y ago
That's what I tend to stick to, CORS is a headache and very easy to do wrong and you shouldn't do it unless you make an open API that can be directly integrated into other websites - which is probably a bad idea.
For most if not all use cases, you can set up a proxy in your front-end's web server so that it doesn't need CORS.
- youngtaff 5y agoThis!