mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Allow more elements with CSP (#1057)
Ultimately, we should get rid of inline style For image in data: scheme, I think it's OK for now Fixes #1055
This commit is contained in:
parent
08defaea8f
commit
8695b899db
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,8 @@ def create_app(
|
|||
# We have several inline javascript scripts :(
|
||||
"script-src": ["'self'", "'unsafe-inline'"],
|
||||
"object-src": "'none'",
|
||||
"img-src": ["'self'", "data:"],
|
||||
"style-src": ["'self'", "'unsafe-inline'"],
|
||||
}
|
||||
|
||||
Talisman(
|
||||
|
|
Loading…
Reference in a new issue