mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 22:48:00 +00:00
fix linter warning
This commit is contained in:
parent
3421846111
commit
6e914fb50c
|
@ -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) + ';'
|
||||||
|
|
Loading…
Reference in a new issue