summaryrefslogtreecommitdiff
path: root/packages/frontend/src/index.html
diff options
context:
space:
mode:
authorCenTdemeern1 <timo.herngreen@gmail.com>2024-10-16 19:26:33 +0200
committerCenTdemeern1 <timo.herngreen@gmail.com>2024-12-08 19:15:41 +0100
commit354bed1c32ebc03debf0d4467d1e9c8fd4948f2c (patch)
tree36f7333c411710743f26f606c0ce33c5b5f9965a /packages/frontend/src/index.html
parentAdd a missing import (diff)
downloadsharkey-354bed1c32ebc03debf0d4467d1e9c8fd4948f2c.tar.gz
sharkey-354bed1c32ebc03debf0d4467d1e9c8fd4948f2c.tar.bz2
sharkey-354bed1c32ebc03debf0d4467d1e9c8fd4948f2c.zip
Commit to raw.esm.sh
This commit also adds an error message for when the Content Security Policy is likely at fault for blocking it.
Diffstat (limited to 'packages/frontend/src/index.html')
-rw-r--r--packages/frontend/src/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/index.html b/packages/frontend/src/index.html
index 55d6b6cffd..c03902f505 100644
--- a/packages/frontend/src/index.html
+++ b/packages/frontend/src/index.html
@@ -18,11 +18,11 @@
http-equiv="Content-Security-Policy"
content="default-src 'self' https://newassets.hcaptcha.com/ https://challenges.cloudflare.com/ http://localhost:7493/;
worker-src 'self' blob:;
- script-src 'self' 'unsafe-eval' https://*.hcaptcha.com https://challenges.cloudflare.com https://esm.sh https://cdn.jsdelivr.net;
+ script-src 'self' 'unsafe-eval' https://*.hcaptcha.com https://challenges.cloudflare.com https://esm.sh https://cdn.jsdelivr.net https://raw.esm.sh;
style-src 'self' 'unsafe-inline';
img-src 'self' data: blob: www.google.com xn--931a.moe localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000 activitypub.software secure.gravatar.com avatars.githubusercontent.com;
media-src 'self' localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000;
- connect-src 'self' localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000 https://newassets.hcaptcha.com https://api.listenbrainz.org https://api.friendlycaptcha.com;
+ connect-src 'self' localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000 https://newassets.hcaptcha.com https://api.listenbrainz.org https://api.friendlycaptcha.com https://raw.esm.sh;
frame-src *;"
/>
<meta property="og:site_name" content="[DEV BUILD] Misskey" />