Skip to content
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

Show allowing websocket connections #51

Open
nathanl opened this issue Apr 4, 2022 · 2 comments
Open

Show allowing websocket connections #51

nathanl opened this issue Apr 4, 2022 · 2 comments

Comments

@nathanl
Copy link

nathanl commented Apr 4, 2022

It's not easy to find good documentation on allowing web sockets. https://outlandish.com/blog/configure-content-security-policy-with-websockets-and-express/ claims you need the domain, but connect-src 'self' ws: wss: seems to be working for me.

@rugk
Copy link

rugk commented Apr 6, 2022

Well there is certainly somewhat of doc findable: https://stackoverflow.com/questions/32986074/content-security-policy-meta-tag-for-allowing-web-socket#41389590

However, I agree it may be a good idea to add a proper doc here.

@rugk
Copy link

rugk commented Apr 6, 2022

Though it's kinda already mentioned: https://content-security-policy.com/connect-src/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants