mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Remove permissions-policy header
This commit is contained in:
		| @@ -134,11 +134,6 @@ class CustomMiddleware: | ||||
|                 headers[ | ||||
|                     "content-security-policy" | ||||
|                 ] = "default-src 'self'; style-src 'self' 'unsafe-inline';" | ||||
|                 headers["permissions-policy"] = ( | ||||
|                     "geolocation=(), midi=(), camera=(), usb=(), " | ||||
|                     "magnetometer=(), accelerometer=(), vr=(), speaker=(), " | ||||
|                     "ambient-light-sensor=(), gyroscope=(), microphone=()" | ||||
|                 ) | ||||
|                 if not DEBUG: | ||||
|                     headers[ | ||||
|                         "strict-transport-security" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user