diff --git a/cvat/settings/base.py b/cvat/settings/base.py index 4202bc712353..e4db883b59ad 100644 --- a/cvat/settings/base.py +++ b/cvat/settings/base.py @@ -644,6 +644,7 @@ class CVAT_QUEUES(Enum): CVAT_HOST = os.getenv('CVAT_HOST', 'localhost') CVAT_BASE_URL = os.getenv('CVAT_BASE_URL', f'http://{CVAT_HOST}:8080').rstrip('/') +CSRF_TRUSTED_ORIGINS = [CVAT_BASE_URL] CLICKHOUSE = { 'events': {