feat: Introduce core backend application with authentication API and a new popout HTML page.
This commit is contained in:
+3
-3
@@ -381,10 +381,10 @@ class SecurityHeadersMiddleware(BaseHTTPMiddleware):
|
||||
response.headers["Content-Security-Policy"] = (
|
||||
"default-src 'self'; "
|
||||
"script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh; "
|
||||
"style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; "
|
||||
"style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://fonts.googleapis.com; "
|
||||
"img-src 'self' data: blob:; "
|
||||
"connect-src 'self'; "
|
||||
"font-src 'self';"
|
||||
"connect-src 'self' https://esm.sh https://unpkg.com; "
|
||||
"font-src 'self' https://fonts.gstatic.com;"
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user