We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
https://raw.githubusercontent.com to
1 parent 6e7cea7 commit 3690d32Copy full SHA for 3690d32
src/config/server.rs
@@ -189,7 +189,7 @@ impl Server {
189
// the `script` in `public/github-redirect.html`
190
let content_security_policy = format!(
191
"default-src 'self'; \
192
- connect-src 'self' *.ingest.sentry.io https://docs.rs https://play.rust-lang.org {cdn_domain}; \
+ connect-src 'self' *.ingest.sentry.io https://docs.rs https://play.rust-lang.org https://raw.githubusercontent.com {cdn_domain}; \
193
script-src 'self' 'unsafe-eval' 'sha256-n1+BB7Ckjcal1Pr7QNBh/dKRTtBQsIytFodRiIosXdE=' 'sha256-dbf9FMl76C7BnK1CC3eWb3pvsQAUaTYSHAlBy9tNTG0='; \
194
style-src 'self' 'unsafe-inline' https://code.cdn.mozilla.net; \
195
font-src https://code.cdn.mozilla.net; \
0 commit comments