summaryrefslogtreecommitdiff
path: root/packages/frontend
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2023-12-08 20:16:49 +0900
committerGitHub <noreply@github.com>2023-12-08 20:16:49 +0900
commit2c6fc0ba63d0c1d8dd7946a8a2667b5ffbfc037b (patch)
tree158eacd663fa28aaab75fbf0126b66f26130b5e8 /packages/frontend
parentchore: fix labeler's config (#12609) (diff)
downloadsharkey-2c6fc0ba63d0c1d8dd7946a8a2667b5ffbfc037b.tar.gz
sharkey-2c6fc0ba63d0c1d8dd7946a8a2667b5ffbfc037b.tar.bz2
sharkey-2c6fc0ba63d0c1d8dd7946a8a2667b5ffbfc037b.zip
fix(dev-frontend) 足りてないCSPを追加 (#12606)
* fix(dev-frontend) サーバーサイドのHTMLと噛み合わない部分を修正 * cspをなおした * typo
Diffstat (limited to 'packages/frontend')
-rw-r--r--packages/frontend/src/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/index.html b/packages/frontend/src/index.html
index 4489f351f8..b93e32265e 100644
--- a/packages/frontend/src/index.html
+++ b/packages/frontend/src/index.html
@@ -19,7 +19,8 @@
content="default-src 'self';
script-src 'self';
style-src 'self' 'unsafe-inline';
- img-src 'self' data: www.google.com xn--931a.moe localhost:3000 localhost:5137 127.0.0.1:5173 127.0.0.1:3000"
+ img-src 'self' data: www.google.com xn--931a.moe localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000;
+ media-src 'self' localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000;"
/>
<meta property="og:site_name" content="[DEV BUILD] Misskey" />
</head>