aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-backend
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-19 02:15:09 +0100
committerGravatar Joe Banks <[email protected]>2024-08-19 02:15:09 +0100
commit8af81a6df36c60e3ad9b1a5d06aa9a94cd04d320 (patch)
tree432c81f559903b92cc10885f14363fce343ef0eb /thallium-backend
parentAdd Google fonts (diff)
Add data URLs source
Diffstat (limited to 'thallium-backend')
-rw-r--r--thallium-backend/src/app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/thallium-backend/src/app.py b/thallium-backend/src/app.py
index f460f2f..a78a9e6 100644
--- a/thallium-backend/src/app.py
+++ b/thallium-backend/src/app.py
@@ -44,6 +44,7 @@ async def add_process_time_and_security_headers(
response.headers["Content-Security-Policy"] = (
"default-src 'self'; script-src 'unsafe-inline' https://cdn.jsdelivr.net/;"
" style-src https://cdn.jsdelivr.net/ https://fonts.googleapis.com/;"
+ " img-src 'self' data:;"
)
response.headers["Referrer-Policy"] = "no-referrer"
response.headers["Permissions-Policy"] = (