Skip to content

Commit

Permalink
fix: Add CSRF trusted origins
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylamhk committed Apr 28, 2024
1 parent 83dc066 commit 1c97a44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cvat/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit 1c97a44

Please sign in to comment.