2 ms·
you cannot use connect-src self. You can use CSP just fine if you are more explicit.
by dwaite 5y ago
you cannot use connect-src self. You can use CSP just fine if you are more explicit.
- chrizel 5y agoChecked it again. You are right about this - if I define it as 'connect-src 'self' wss://<domain>' it works - not without the 'wss://', which I tried last week. Thanks for the nudge. At least we have a workaround.
- merrywhether 5y agoProtocol is part of a FQDN, so this isn’t entirely surprising.