diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2016-01-27 17:14:02 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2016-01-27 17:14:02 +0100 |
commit | 0881d95faba366946a1942bf03eec2cb18318aaa (patch) | |
tree | 4d780e4fd530c49551ca053efbcf7378aebe8053 /service/pixelated | |
parent | dc57cf59ec6818e49a92abad6ad81a982dbae1c1 (diff) |
Fixup: Somehow mixed up disable and enable
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/site.py | 4 |
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 |