summaryrefslogtreecommitdiff
path: root/packages/frontend/src/index.html
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2023-12-16 12:34:35 +0900
committerGitHub <noreply@github.com>2023-12-16 12:34:35 +0900
commitb1a7dcb05b9fe2c4eed2c6ea68aff5ef4282b332 (patch)
tree91b9389b0a32af0f1a7b5ca07089ea7ab95933f0 /packages/frontend/src/index.html
parentenhance(frontend): tweak user home page (diff)
downloadsharkey-b1a7dcb05b9fe2c4eed2c6ea68aff5ef4282b332.tar.gz
sharkey-b1a7dcb05b9fe2c4eed2c6ea68aff5ef4282b332.tar.bz2
sharkey-b1a7dcb05b9fe2c4eed2c6ea68aff5ef4282b332.zip
enhance(frontend): コードブロックのハイライト機能を利用するには言語を明示的に指定させるように (#12681)
* (enhance) コードブロックのハイライトを使用するには言語指定を求める * Update changelog * fix * typo
Diffstat (limited to 'packages/frontend/src/index.html')
-rw-r--r--packages/frontend/src/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/index.html b/packages/frontend/src/index.html
index 49189914a0..558856690d 100644
--- a/packages/frontend/src/index.html
+++ b/packages/frontend/src/index.html
@@ -18,7 +18,7 @@
http-equiv="Content-Security-Policy"
content="default-src 'self';
worker-src 'self';
- script-src 'self';
+ script-src 'self' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
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;"