Spaces:
Runtime error
Runtime error
debug csrf trust
Browse files
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 |
|