Post #2044277
2026-05-02 16:17 UTC
TIL that you can't detect CORS errors from JS code in the browser. If your fetch results in a CORS error, it happens at the browser level, outside of JS. All you can do is catch the error and make assumptions as to what caused it.
Replies (0)
No replies.