[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-04-08 21:03:28 +00:00
parent 090111b398
commit 0538e69018
5 changed files with 35 additions and 21 deletions

6
app.py
View File

@@ -75,9 +75,9 @@ async def add_cache_control(_, response):
@app.on_response
async def add_csp(_, response):
response.headers[
"Content-Security-Policy"
] = "default-src * 'unsafe-inline' 'unsafe-eval' data: blob:;"
response.headers["Content-Security-Policy"] = (
"default-src * 'unsafe-inline' 'unsafe-eval' data: blob:;"
)
app.static(