Skip to content

Commit dfacfab

Browse files
committed
Update comment
1 parent 541a059 commit dfacfab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dnscrypt-proxy/monitoring_ui.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,9 +1064,8 @@ func (ui *MonitoringUI) handleRoot(w http.ResponseWriter, r *http.Request) {
10641064
return
10651065
}
10661066

1067-
// No cache, no heartbeat fetching. You will need to log in again after restarting your browser.
1067+
// Don't cache: ensures the browser revalidates auth before the JS issues /api/metrics and WebSocket calls.
10681068
setDynamicCacheHeaders(w)
1069-
10701069
w.Header().Set("Content-Type", "text/html")
10711070
w.Write([]byte(MainHTMLTemplate))
10721071
}

0 commit comments

Comments
 (0)