Browse Source

Añado vmcluster a allowed_hosts y csrf

Celestino Rey 6 tháng trước cách đây
mục cha
commit
f45a1f51c1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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