summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/config/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/config/site.py b/service/pixelated/config/site.py
index 3427c7f4..e28daf16 100644
--- a/service/pixelated/config/site.py
+++ b/service/pixelated/config/site.py
@@ -17,8 +17,8 @@ class PixelatedSite(Site):
@classmethod
def enable_csp_requests(cls):
- cls.requestFactory = Site.requestFactory
+ cls.requestFactory = AddCSPHeaderRequest
@classmethod
def disable_csp_requests(cls):
- cls.requestFactory = AddCSPHeaderRequest
+ cls.requestFactory = Site.requestFactory