mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
lint
This commit is contained in:
parent
297738dbb1
commit
b82231202c
2 changed files with 4 additions and 4 deletions
|
@ -368,10 +368,10 @@ else:
|
|||
MEDIA_URL = "/images/"
|
||||
MEDIA_FULL_URL = f"{PROTOCOL}://{DOMAIN}{MEDIA_URL}"
|
||||
STATIC_FULL_URL = f"{PROTOCOL}://{DOMAIN}{STATIC_URL}"
|
||||
CSP_DEFAULT_SRC = ("'self'")
|
||||
CSP_SCRIPT_SRC = ("'self'")
|
||||
CSP_DEFAULT_SRC = "'self'"
|
||||
CSP_SCRIPT_SRC = "'self'"
|
||||
|
||||
CSP_INCLUDE_NONCE_IN=['script-src']
|
||||
CSP_INCLUDE_NONCE_IN = ["script-src"]
|
||||
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT = env("OTEL_EXPORTER_OTLP_ENDPOINT", None)
|
||||
OTEL_EXPORTER_OTLP_HEADERS = env("OTEL_EXPORTER_OTLP_HEADERS", None)
|
||||
|
|
|
@ -23,7 +23,7 @@ from .helpers import handle_remote_webfinger
|
|||
class Search(View):
|
||||
"""search users or books"""
|
||||
|
||||
@csp_update(IMG_SRC='*')
|
||||
@csp_update(IMG_SRC="*")
|
||||
def get(self, request):
|
||||
"""that search bar up top"""
|
||||
if is_api_request(request):
|
||||
|
|
Loading…
Reference in a new issue