From 06fd9593c9653b3ce05d355182bb5e5b429c883c Mon Sep 17 00:00:00 2001 From: Steven Gerrits Date: Wed, 5 Feb 2025 10:06:49 +0100 Subject: [PATCH] correct uat db url --- vespadb/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vespadb/settings.py b/vespadb/settings.py index cdf8a88..4bdddd1 100644 --- a/vespadb/settings.py +++ b/vespadb/settings.py @@ -20,8 +20,8 @@ secrets = { "DJANGO_SECRET_KEY": os.getenv("SECRET_KEY"), - "CORS_ALLOWED_ORIGINS": os.getenv("CORS_ALLOWED_ORIGINS", "http://localhost:3000").split(",") + ["https://nesten.vespawatch.be", "https://uat-nesten.vespawatch.be", "https://db.vespawatch.be" "https://uat-db-vespawatch.be"], - "CSRF_TRUSTED_ORIGINS": os.getenv("CSRF_TRUSTED_ORIGINS", "http://localhost:3000").split(",") + ["https://nesten.vespawatch.be", "https://uat-nesten.vespawatch.be", "https://db.vespawatch.be","https://uat-db-vespawatch.be"], + "CORS_ALLOWED_ORIGINS": os.getenv("CORS_ALLOWED_ORIGINS", "http://localhost:3000").split(",") + ["https://nesten.vespawatch.be", "https://uat-nesten.vespawatch.be", "https://db.vespawatch.be" "https://uat-db.vespawatch.be"], + "CSRF_TRUSTED_ORIGINS": os.getenv("CSRF_TRUSTED_ORIGINS", "http://localhost:3000").split(",") + ["https://nesten.vespawatch.be", "https://uat-nesten.vespawatch.be", "https://db.vespawatch.be","https://uat-db.vespawatch.be"], "CSRF_COOKIE_DOMAIN": os.getenv("CSRF_COOKIE_DOMAIN", ".vespawatch.be"), "SESSION_COOKIE_DOMAIN": os.getenv("SESSION_COOKIE_DOMAIN", ".vespawatch.be"), "POSTGRES_DB": os.getenv("POSTGRES_DB"),