From 963441fe50564ea47df772432f125b3f98d10fe4 Mon Sep 17 00:00:00 2001 From: Igor Barcik Date: Tue, 28 Apr 2026 21:02:50 +0200 Subject: [PATCH] ops: add csrf trusted origins for production deployment --- core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/settings.py b/core/settings.py index fcc4c48..d2a5b16 100644 --- a/core/settings.py +++ b/core/settings.py @@ -7,7 +7,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = config('SECRET_KEY', default='poc-secret-key') DEBUG = config('DEBUG', default=True, cast=bool) ALLOWED_HOSTS = ['*'] - +CSRF_TRUSTED_ORIGINS=['https://*.bigoscloud.com'] INSTALLED_APPS = [ 'daphne', 'django.contrib.admin',