Artteiv commited on
Commit
f6657b4
1 Parent(s): 65a88ed

debug csrf trust

Browse files
Files changed (1) hide show
  1. chatbot_django/settings.py +2 -2
chatbot_django/settings.py CHANGED
@@ -30,9 +30,9 @@ DEBUG = False
30
 
31
  ALLOWED_HOSTS = ['artteiv-arxiv-chatbot.hf.space','arxivbot-arxiv-chatbot.hf.space','localhost','127.0.0.1']
32
 
33
- CSRF_TRUSTED_ORIGINS = ['https://arxivbot-arxiv-chatbot.hf.space']
34
 
35
- CORS_ALLOWED_HOSTS = ['https://arxivbot-arxiv-chatbot.hf.space']
36
 
37
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
38
 
 
30
 
31
  ALLOWED_HOSTS = ['artteiv-arxiv-chatbot.hf.space','arxivbot-arxiv-chatbot.hf.space','localhost','127.0.0.1']
32
 
33
+ CSRF_TRUSTED_ORIGINS = ['https://arxivbot-arxiv-chatbot.hf.space','https://artteiv-arxiv-chatbot.hf.space']
34
 
35
+ CORS_ALLOWED_HOSTS = ['https://arxivbot-arxiv-chatbot.hf.space','https://artteiv-arxiv-chatbot.hf.space']
36
 
37
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
38