feat: Add 'base-uri' to CSP header in main.py of the web UI

This commit is contained in:
Théophile Diot 2024-05-09 18:31:33 +02:00
parent 56d7a18e1b
commit 97b0b8c202
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -408,6 +408,7 @@ def set_csp_header(response):
+ " img-src 'self' data: https://assets.bunkerity.com;"
+ " font-src 'self' data:;"
+ " connect-src *;"
+ " base-uri 'self';"
)
return response