As the title says, this only happens in Firefox. After some time the browser only sends OPTIONS requests with no responses, no status, no headers, nothing I can see in the debug console.
All of this works perfectly under Chrome, Safari and Edge. I’ve already set up CORS middleware and headers within NodeJS, so that’s likely not the issue. I’m completely lost right now.
Advertisement
Answer
After a lot of banging my head against a wall, I realised that an SQL query from the backend ORM wasn’t finding one of the pieces of data I need on the frontend (it was null
in the database), so Firefox instead of simply showing me that it’s failing decided to just not show anything.
In short: if you have this problem just check for errors in your backend