Spaces:
Runtime error
Runtime error
Update chatbot_django/settings.py
Browse files
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 |
|