瀏覽代碼

Corrijo wildcard en allowed_hosts

Celestino Rey 8 月之前
父節點
當前提交
2fdce18f41
共有 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'
 
 # hosts permitidos
 
-ALLOWED_HOSTS = ["*.vmcluster.lab", "jugaralpadel.es", ".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