summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-05-01 03:35:28 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-05-01 03:37:42 -0400
commit9fd48da8ab4b237cc45229a778b69b7f140e470a (patch)
tree5d8b5dc537efa9b470efdec7920c873ccfd420c0 /static
parentdbec9063364b5ac77701658a6c7b38955eff7e72 (diff)
expand Feature-Policy based on specification
Diffstat (limited to 'static')
-rw-r--r--static/.htaccess5
1 files changed, 4 insertions, 1 deletions
diff --git a/static/.htaccess b/static/.htaccess
index bafe49ee..2e10d43e 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -9,6 +9,7 @@ Header always set Feature-Policy "accelerometer 'none'; \
ambient-light-sensor 'none'; \
autoplay 'none'; \
camera 'none'; \
+document-domain 'none'; \
encrypted-media 'none'; \
fullscreen 'none'; \
geolocation 'none'; \
@@ -21,7 +22,9 @@ picture-in-picture 'none'; \
speaker 'none'; \
sync-xhr 'none'; \
usb 'none'; \
-vr 'none'"
+vr 'none'; \
+wake-lock 'none'; \
+xr 'none'"
<FilesMatch "\.(html|txt|webmanifest|xml)$">
Header set Cache-Control "public, max-age=1800"