mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 18:54:51 +00:00 
			
		
		
		
	helmet upgrade to v5
This commit is contained in:
		| @@ -67,7 +67,7 @@ function Server(config, callback) { | ||||
| 			res.status(403).send("This device is not allowed to access your mirror. <br> Please check your config.js or config.js.sample to change this."); | ||||
| 		}); | ||||
| 	}); | ||||
| 	app.use(helmet({ contentSecurityPolicy: false })); | ||||
| 	app.use(helmet({ contentSecurityPolicy: false, crossOriginOpenerPolicy: false })); | ||||
|  | ||||
| 	app.use("/js", express.static(__dirname)); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user