From 8b206cb4ca7ecddfd6bcba849b3bad5173dbd0b3 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 30 Aug 2024 14:07:36 +0800 Subject: [PATCH] Update CSRF trusted domains --- equipment_tracker/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equipment_tracker/config/settings.py b/equipment_tracker/config/settings.py index b8a59c8..60b727e 100644 --- a/equipment_tracker/config/settings.py +++ b/equipment_tracker/config/settings.py @@ -32,7 +32,7 @@ DEBUG = True ALLOWED_HOSTS = ['*'] CSRF_TRUSTED_ORIGINS = [ - "https://equipment-tracker-backend.keannu1.duckdns.org", "https://api.equipment-tracker.06222001.xyz" "https://app.equipment-tracker.06222001.xyz"] + "https://*.keannu1.duckdns.org", "https://*.06222001.xyz"] # Email credentials EMAIL_HOST = ''