mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
feat: Add 'base-uri' to CSP header in main.py of the web UI
This commit is contained in:
parent
56d7a18e1b
commit
97b0b8c202
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue