Open ishanray opened 1 year ago
I am seeing the same issue here. FF 109.0.1
I am also seeing this issue, both in Firefox as well as Safari on a Mac.
Same
Encountering same issue. Hopefully Pexels solves this soon
@ishanray has it on the lock down. We are both more than glad to submit a patch.
In the meantime my trivial workaround was to use axios (or fetch) instead of the provided JS client, and it now works in all browsers.
When trying to use this library in Firefox, it fails with:
Seems like this is being caused by trying to change the User-Agent while creating the fetch wrapper.
The reason it works in Chrome is because Chrome doesn't allow overriding of the User-Agent due to this longstanding bug
Request headers in Firefox:
Request headers in Chrome:
The fix would be to simply add User-Agent on the server side CORS config or delete this line from the library since Chrome users are not using this right now.
I verified it works in Firefox if that line is deleted. I can open a patch if required.