diff --git a/padelclub_backend/settings.py b/padelclub_backend/settings.py index ff1d1fc..5106803 100644 --- a/padelclub_backend/settings.py +++ b/padelclub_backend/settings.py @@ -142,7 +142,11 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static/') DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -CSRF_TRUSTED_ORIGINS = ['http://127.0.0.1:8000'] # Ajoutez vos domaines de confiance +CSRF_TRUSTED_ORIGINS = [ + 'http://127.0.0.1:8000', + 'https://padelclub.app', + 'http://padelclub.app' +] # Ajoutez vos domaines de confiance from .settings_local import * from .settings_app import *