aboutsummaryrefslogtreecommitdiffstats
path: root/server.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-08 06:15:41 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-08 06:15:41 +0000
commitacd76a660ad5cc6502e78553fbb3a4ad8f58ec7a (patch)
tree540c2703bf58595d17c48d3d36ab548b2689946a /server.js
parentwip (diff)
downloadblog-acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a.tar.gz
blog-acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a.zip
updated the permissions policiy
Diffstat (limited to 'server.js')
-rwxr-xr-xserver.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 4b67056..a42072f 100755
--- a/server.js
+++ b/server.js
@@ -49,7 +49,7 @@ app.use(helmet.xssFilter());
app.use((req, res, next) => {
res.setHeader(
"Permissions-Policy",
- "geolocation=(none),midi=(none),notifications=(none),push=(none),sync-xhr=(none),microphone=(none),camera=(none),magnetometer=(none),gyroscope=(none),speaker=(none),vibrate=(none),fullscreen=(self),payment=(none)"
+ "geolocation=(self),midi=(self),sync-xhr=(self),microphone=(self),camera=(self),magnetometer=(self),gyroscope=(self),fullscreen=(self),payment=(self),usb=(self)"
);
next();
});