yada
yada copied to clipboard
Allow passing a function to `:content-security-policy`
As far as I understand, in order for WebSockets to work, you should specify something like wss://example.com in the CSP header.
Right now, you can either specify the wss: wildcard or write your own interceptor.
This would also be helpful for generating a dynamic nonce.