aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-07 20:27:19 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-07 20:27:19 -0700
commit0f574e8e28520c46d1d335ceede2bb05f4f3ed3a (patch)
treeaf679cb0e8a2916a6356f10c2408840cae02a74e /youtube/templates
parentba0809b965fdf19190fc4a5f8ddee5f6ae9cb905 (diff)
downloadyt-local-0f574e8e28520c46d1d335ceede2bb05f4f3ed3a.tar.lz
yt-local-0f574e8e28520c46d1d335ceede2bb05f4f3ed3a.tar.xz
yt-local-0f574e8e28520c46d1d335ceede2bb05f4f3ed3a.zip
Regression: Fix csp preventing subtitles from working
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index fae7d13..72e3691 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{ page_title }}</title>
- <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; script-src 'none'; media-src https://*.googlevideo.com">
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; script-src 'none'; media-src 'self' https://*.googlevideo.com">
<link href="/youtube.com/static/shared.css" type="text/css" rel="stylesheet">
<link href="/youtube.com/static/comments.css" type="text/css" rel="stylesheet">
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon">