-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS error #955
Comments
Hey @strukturart, Could you tell us:
|
which Browser are you using? |
I’m sorry, but we probably won’t fix this if it’s not an issue with other - more common - browsers too. If you need to support KaiOS 2.5, PeerJS v1.3 or below are still an option. They don’t use this policy. |
Is the problem on the client side or on the server side? then I would adjust the version. |
Just the client. |
## [1.4.5-rc.1](v1.4.4...v1.4.5-rc.1) (2022-05-17) ### Bug Fixes * **referrerPolicy:** you can now set a custom referrerPolicy for api requests ([c0ba9e4](c0ba9e4)), closes [#955](#955)
🎉 This issue has been resolved in version 1.4.5-rc.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hey @strukturart, We discussed this further internally. KaiOS 2 is still not a target for us, but there might be value for everyone in customizing the referrer policy. I pushed a patch to the You can get it from new Peer({
referrerPolicy: 'origin-when-cross-origin',
}) |
Thank you! |
🎉 This issue has been resolved in version 1.4.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
when trying to connect to the peerJS server I get the following error message:
ERROR PeerJS: Error retrieving ID (TypeError) 'referrerPolicy' member of RequestInit 'strict-origin-when-cross-origin' is not a valid value for enumeration ReferrerPolicy.
The text was updated successfully, but these errors were encountered: