From 602d2b312227e19eeb2178f3146df39b2afba996 Mon Sep 17 00:00:00 2001 From: himanshu pandey <0221csai057@niet.co.in> Date: Tue, 9 Jan 2024 00:39:40 +0530 Subject: [PATCH] riders to rider --- sih/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sih/settings.py b/sih/settings.py index 681922a..d2a870a 100644 --- a/sih/settings.py +++ b/sih/settings.py @@ -146,4 +146,9 @@ OPENAI_API_KEY = 'hhhhhh' STATIC_ROOT = BASE_DIR / 'staticfiles' -STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' \ No newline at end of file +STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' + +CSRF_TRUSTED_ORIGINS = [ + "https://findteacher.azurewebsites.net", + # Add other trusted origins as needed +]