Skip to content

Commit

Permalink
update trusted origins (fixed typo in nginx conf)
Browse files Browse the repository at this point in the history
  • Loading branch information
d2avids committed Jun 4, 2024
1 parent 4c4cb15 commit 24a823d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,13 @@
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'

CSRF_COOKIE_DOMAIN = 'http://31.129.98.70/'
CORS_ORIGIN_WHITELIST = [
'http://localhost:3000',
'http://localhost:8080',
'http://127.0.0.1:8080',
'http://localhost:80',
'http://localhost',
'http://31.129.98.70/',
'http://31.129.98.70:8000'
]

CSRF_TRUSTED_ORIGINS = [
Expand All @@ -235,7 +233,6 @@
'http://localhost',
'https://127.0.0.1',
'http://31.129.98.70/',
'http://31.129.98.70:8000'
]

# EMAIL BACKEND
Expand Down

0 comments on commit 24a823d

Please sign in to comment.