diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:57:15 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:57:15 -0800 |
| commit | 8885554488cdaab2e98a95eb3f30a010be60dbf2 (patch) | |
| tree | 98f1e85815f9831c9548a0b77cfb986bffb0e549 /internal/server | |
| parent | fix: Simplify error messages in monitor display (diff) | |
| download | kaze-8885554488cdaab2e98a95eb3f30a010be60dbf2.tar.xz kaze-8885554488cdaab2e98a95eb3f30a010be60dbf2.zip | |
fix: Remove detailed error from tooltip to prevent URL leakage
Diffstat (limited to 'internal/server')
| -rw-r--r-- | internal/server/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html index eb3fc41..ea4a170 100644 --- a/internal/server/templates/index.html +++ b/internal/server/templates/index.html @@ -99,7 +99,7 @@ {{if gt .SSLDaysLeft 0}} <span class="{{if lt .SSLDaysLeft 14}}text-yellow-600 dark:text-yellow-400{{else if lt .SSLDaysLeft 7}}text-red-600 dark:text-red-400{{end}}" data-tooltip='{{.SSLTooltip}}'>SSL: {{.SSLDaysLeft}}d</span> {{end}} - {{if .LastError}}<span class="text-red-600 dark:text-red-400 truncate max-w-[200px]" data-tooltip='{"header":"Last Error","error":"{{.LastError}}"}'>{{simplifyError .LastError}}</span>{{end}} + {{if .LastError}}<span class="text-red-600 dark:text-red-400">{{simplifyError .LastError}}</span>{{end}} </div> </div> <div class="flex items-center gap-2 flex-shrink-0"> |