mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Better headers
This commit is contained in:
		| @@ -51,14 +51,14 @@ var helmet = require('helmet'); | ||||
| var featurePolicy = require('feature-policy'); | ||||
| app.use(featurePolicy({ | ||||
|     features: { | ||||
|         fullscreen: ["'*'"], | ||||
|         vibrate: ["'none'"], | ||||
|         fullscreen: ["*"], | ||||
|         //vibrate: ["'none'"], | ||||
|         payment: ["'none'"], | ||||
|         microphone: ["'none'"], | ||||
|         camera: ["'none'"], | ||||
|         speaker: ["*"], | ||||
|         syncXhr: ["'self'"], | ||||
|         notifications: ["'self'"] | ||||
|         //notifications: ["'self'"] | ||||
|     } | ||||
| })); | ||||
| app.use(helmet({ | ||||
|   | ||||
| @@ -68,14 +68,14 @@ var helmet = require('helmet'); | ||||
| var featurePolicy = require('feature-policy'); | ||||
| app.use(featurePolicy({ | ||||
|     features: { | ||||
|         fullscreen: ["'*'"], | ||||
|         vibrate: ["'none'"], | ||||
|         fullscreen: ["*"], | ||||
|         //vibrate: ["'none'"], | ||||
|         payment: ["'none'"], | ||||
|         microphone: ["'none'"], | ||||
|         camera: ["'none'"], | ||||
|         speaker: ["*"], | ||||
|         syncXhr: ["'self'"], | ||||
|         notifications: ["'self'"] | ||||
|         //notifications: ["'self'"] | ||||
|     } | ||||
| })); | ||||
| app.use(helmet({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user