csp: load pure.css
This commit is contained in:
parent
54fa114e69
commit
ea3f62b4f6
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -101,7 +101,7 @@ csrf.init_app(app)
|
|||
csp = {
|
||||
"default-src": "'self'",
|
||||
"script-src": "'self'", # to use nonce
|
||||
"style-src": "'unsafe-inline'", # for old browsers without support style-src-attr
|
||||
"style-src": ["'self'", "'unsafe-inline'"],
|
||||
"base-uri": "'none'",
|
||||
"object-src" : "'none'",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue