From 2904eb19a43fb71fd04e00e7a4e453b46712c3ae Mon Sep 17 00:00:00 2001 From: Bryon Lewis Date: Tue, 20 Feb 2024 15:45:39 -0500 Subject: [PATCH] trusted origins --- bats_ai/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bats_ai/settings.py b/bats_ai/settings.py index 88d65df..6d7a9ec 100644 --- a/bats_ai/settings.py +++ b/bats_ai/settings.py @@ -96,6 +96,7 @@ class KitwareConfiguration(BatsAiMixin, _BaseConfiguration): MINIO_STORAGE_MEDIA_USE_PRESIGNED = True MINIO_STORAGE_MEDIA_URL = 'http://127.0.0.1:9000/django-storage' ALLOWED_HOSTS = ['batdetectai.kitware.com'] + CSRF_TRUSTED_ORIGINS = ["https://batdetectai.kitware.com", "https://www.batdetectai.kitware.com"] class ProductionConfiguration(BatsAiMixin, ProductionBaseConfiguration):