From ba4b8ddf78029eab446bcbbac7dc2ce314f26a88 Mon Sep 17 00:00:00 2001 From: cruizba Date: Tue, 2 Apr 2024 10:51:58 +0200 Subject: [PATCH] Fix some inconsistencies --- caddy-proxy/templates/index.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/caddy-proxy/templates/index.go b/caddy-proxy/templates/index.go index 78a7a81..65ff1a5 100644 --- a/caddy-proxy/templates/index.go +++ b/caddy-proxy/templates/index.go @@ -51,12 +51,18 @@ const IndexTemplate = `
  • {{.WsUrl}}
  • -
  • From other devices in your LAN: - -
  • + {{- if .HttpsUrl }} + {{- if .LanMode }} +
  • From other devices in your LAN: + {{- else }} +
  • Using HTTPS: + {{- end }} + +
  • + {{- end }}

    Services and passwords: