mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-20 01:43:57 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
6
app.py
6
app.py
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user