diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-08 06:15:41 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-08 06:15:41 +0000 |
commit | acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a (patch) | |
tree | 540c2703bf58595d17c48d3d36ab548b2689946a /server.js | |
parent | wip (diff) | |
download | blog-acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a.tar.gz blog-acd76a660ad5cc6502e78553fbb3a4ad8f58ec7a.zip |
updated the permissions policiy
Diffstat (limited to 'server.js')
-rwxr-xr-x | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); }); |