From acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 8 Apr 2022 10:45:41 +0430 Subject: updated the permissions policiy --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); -- cgit v1.2.3