fix linter warning

This commit is contained in:
Izalia Mae 2024-03-31 11:35:33 -04:00
parent 3421846111
commit 6e914fb50c

View file

@ -45,7 +45,7 @@ def get_csp(request: web.Request) -> str:
"img-src 'self'", "img-src 'self'",
"object-src 'none'", "object-src 'none'",
"frame-ancestors 'none'", "frame-ancestors 'none'",
f"manifest-src 'self' https://{request.app.config.domain}" f"manifest-src 'self' https://{request.app['config'].domain}"
] ]
return '; '.join(data) + ';' return '; '.join(data) + ';'