From 5d16e0ea197f03a11af8bebc78aa630bd7264a78 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sun, 22 May 2022 14:34:48 -0700 Subject: [PATCH] CSRF_TRUSTED_ORIGINS is a list derp --- babybuddy/settings/render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babybuddy/settings/render.py b/babybuddy/settings/render.py index 36e9c176..ba9093e2 100644 --- a/babybuddy/settings/render.py +++ b/babybuddy/settings/render.py @@ -5,7 +5,7 @@ from .base import * RENDER_EXTERNAL_HOSTNAME = os.environ.get('RENDER_EXTERNAL_HOSTNAME') if RENDER_EXTERNAL_HOSTNAME: ALLOWED_HOSTS.append(RENDER_EXTERNAL_HOSTNAME) - CSRF_TRUSTED_ORIGINS = "".join(["https://", RENDER_EXTERNAL_HOSTNAME]) + CSRF_TRUSTED_ORIGINS.append("".join(["https://", RENDER_EXTERNAL_HOSTNAME])) # Database