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

Añado vmcluster a allowed_hosts y csrf

Celestino Rey 6 месяцев назад
Родитель
Сommit
f45a1f51c1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/gestion_reservas/settings.py

+ 2 - 2
src/gestion_reservas/settings.py

@@ -37,8 +37,8 @@ LOCAL = os.environ.get('LOCAL', 'False') == 'True'
 
 # hosts permitidos
 
-ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "*.rancher.lab", "jugaralpadel.es", ".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"]
+ALLOWED_HOSTS = ["*.vmcluster.lab", "jugaralpadel.es", ".reymota.es"]
+CSRF_TRUSTED_ORIGINS = ["http://jugaralpadel.vmcluster.lab", "https://*.vmcluster.lab", "https://jugaralpadel.es", "https://*.reymota.es"]
 
 # Application definition