Skip to content

Commit

Permalink
Switch to Permissions Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkohei13 committed Nov 30, 2024
1 parent 11e92cd commit 5dd6df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def set_security_headers(response):
response.headers['X-Frame-Options'] = 'SAMEORIGIN'
response.headers['Referrer-Policy'] = 'strict-origin-when-cross-origin'
response.headers['X-Permitted-Cross-Domain-Policies'] = 'none'
response.headers['Feature-Policy'] = "microphone 'none'"
response.headers['Permissions-Policy'] = "geolocation=(), microphone=()"
return response

# Make data available for templates
Expand Down

0 comments on commit 5dd6df8

Please sign in to comment.