no need to make nonce on <style>
This commit is contained in:
parent
10d77cf183
commit
015ef9e35b
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -112,7 +112,7 @@ talisman = Talisman(
|
||||||
app,
|
app,
|
||||||
content_security_policy=csp,
|
content_security_policy=csp,
|
||||||
force_https=False, # internal requests like /tasks/* are sent over HTTP
|
force_https=False, # internal requests like /tasks/* are sent over HTTP
|
||||||
content_security_policy_nonce_in=["script-src", "style-src"],
|
content_security_policy_nonce_in=["script-src"],
|
||||||
)
|
)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue