diff --git a/index.html b/index.html index 92d42f5..e6c9476 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,7 @@ port: 40069, name: "☁ Nextcloud", desc: "Self-hosted cloud storage", + secured: true, }, { port: 1957, @@ -75,7 +76,7 @@ services.forEach((service) => { const card = document.createElement("a"); - card.href = `http://${hostIP}:${service.port}`; + card.href = `${service.secured ? "https" : "http"}://${hostIP}:${service.port}`; card.target = "_blank"; card.className = "bg-gray-800 hover:bg-gray-700 transition rounded-lg p-6 shadow-lg border border-gray-700";