From 1453cb7f8249cfd10b4f7a40f243f571df333e79 Mon Sep 17 00:00:00 2001 From: kingsmai Date: Sat, 19 Apr 2025 15:15:33 +0800 Subject: [PATCH] Added https link --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";