summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-02-10 08:54:45 -0500
committerDaniel Micay <danielmicay@gmail.com>2020-02-10 08:54:45 -0500
commit13f1ce40344439368d15f64f5dac05373d5160f3 (patch)
treee6fc25180ebdc2ac20152cb209fbf8b5a2bb3930
parent1e4d525104b08d901b3ea6621822107db3eddb96 (diff)
update Feature-Policy
-rw-r--r--static/.htaccess5
1 files changed, 3 insertions, 2 deletions
diff --git a/static/.htaccess b/static/.htaccess
index c731c9c0..81be2180 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -8,7 +8,9 @@ report-uri https://danielmicay.report-uri.com/r/d/csp/enforce"
Header always set Feature-Policy "accelerometer 'none'; \
ambient-light-sensor 'none'; \
autoplay 'none'; \
+battery 'none'; \
camera 'none'; \
+display-capture 'none'; \
document-domain 'none'; \
encrypted-media 'none'; \
fullscreen 'none'; \
@@ -22,9 +24,8 @@ picture-in-picture 'none'; \
speaker 'none'; \
sync-xhr 'none'; \
usb 'none'; \
-vr 'none'; \
wake-lock 'none'; \
-xr 'none'"
+xr-spatial-tracking 'none'"
<FilesMatch "\.(html|txt|webmanifest|xml)$">
Header set Cache-Control "public, max-age=1800"