Просмотр исходного кода

Dejo versión anterior con CSRF

creylopez 1 год назад
Родитель
Сommit
9f95e19a16
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/gestion_reservas/settings.py

+ 1 - 1
src/gestion_reservas/settings.py

@@ -37,7 +37,7 @@ LOCAL = os.environ.get('LOCAL', 'False') == 'True'
 
 ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "*.rancher.lab", "jugaralpadel.es", ".reymota.es"]
 
-CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://*.rancher.lab", "https://jugaralpadel.es", "https://*.reymota.es"]
+CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.es", "https://*.reymota.es"]
 
 # Application definition