From f8d9be2d5a947a2adde12d187a52b18b7218c541 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Wed, 7 Oct 2020 19:28:52 +0200
Subject: settings.py: add 'proxy_images'
---
youtube/templates/base.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'youtube/templates')
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 4ff83c5..462cac4 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -3,7 +3,9 @@
{{ page_title }}
-
+ {% if settings.proxy_images %}
+
+ {% endif %}
--
cgit v1.2.3
From ed0b20e6c8c4dc018fa8ad25e2af436510e05f73 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Fri, 9 Oct 2020 18:35:13 +0200
Subject: Don't remove the CSP completely
---
youtube/templates/base.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'youtube/templates')
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 462cac4..c647c68 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -3,9 +3,8 @@
{{ page_title }}
- {% if settings.proxy_images %}
-
- {% endif %}
+
--
cgit v1.2.3