Hello,
In the Extension settings there is “Allowlist for URL Fetching Domains.” I added:
GET requests to my API (https://my-api-domain) work fine. However, when the extension frontend tries to load user avatars from the FACEIT CDN, the browser blocks them due to CSP:
Sample errors:
-
Refused to load the image ‘’ because it violates the following Content Security Policy directive: “img-src ‘self’ data: blob:”.
-
Refused to load the image ‘https://distribution.faceit-cdn.net/images/360ad66d-b9a0-4d18-8517-058d160ad45b.jpg’ because it violates the following Content Security Policy directive: “img-src ‘self’ https://9j4sphpwffxs9h278xcd8mf4hlkj3s.ext-twitch.tv https://static-cdn.jtvnw.net https://*.google-analytics.com https://www.googletagmanager.com data: blob:”.
-
Is there a separate allowlist/setting for img-src (and media-src) for Twitch Extensions? If yes, where can I add https://distribution.faceit-cdn.net/images/*?
-
Do patterns like https://distribution.faceit-cdn.net/images/*.jpg work in the allowlist, or should we specify just the origin like https://distribution.faceit-cdn.net?
Thank you!
