tosanoob commited on
Commit
717dc0b
1 Parent(s): 375f1c1

Update chatbot_django/settings.py

Browse files
Files changed (1) hide show
  1. chatbot_django/settings.py +5 -1
chatbot_django/settings.py CHANGED
@@ -28,7 +28,11 @@ LOGIN_URL = '/users/login/'
28
  # SECURITY WARNING: don't run with debug turned on in production!
29
  DEBUG = True
30
 
31
- ALLOWED_HOSTS = ['arxivbot-arxiv-chatbot.hf.space']
 
 
 
 
32
 
33
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
34
 
 
28
  # SECURITY WARNING: don't run with debug turned on in production!
29
  DEBUG = True
30
 
31
+ ALLOWED_HOSTS = ['https://arxivbot-arxiv-chatbot.hf.space']
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