Skip to content

Commit 4f6cb9a

Browse files
Dev NirwalDev Nirwal
authored andcommitted
Fix: add CSRF_TRUSTED_ORIGINS for live domain
1 parent 770b463 commit 4f6cb9a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pdf_chat_project/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636

3737
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
3838

39+
CSRF_TRUSTED_ORIGINS = env.list('CSRF_TRUSTED_ORIGINS', default=['http://simple-rag.nstsdc.org', 'https://simple-rag.nstsdc.org'])
40+
3941

4042
# Application definition
4143

0 commit comments

Comments
 (0)