Fix adding new env

pull/824/head
derneuere 12 months ago
parent 9369c5f121
commit 66d0800843

@ -318,9 +318,11 @@ IMAGE_SIMILARITY_SERVER = "http://localhost:8002"
CSRF_TRUSTED_ORIGINS = [
"http://localhost:3000",
os.environ.get("CSRF_TRUSTED_ORIGINS", ""),
]
if os.environ.get("CSRF_TRUSTED_ORIGINS"):
CSRF_TRUSTED_ORIGINS.append(os.environ.get("CSRF_TRUSTED_ORIGINS"))
LOGGING = {
"version": 1,
"disable_existing_loggers": False,

Loading…
Cancel
Save