From 6e4b44440477d788ec5a23af90690b668bcd73ab Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Fri, 24 Apr 2026 16:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCDN=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/app.js b/public/js/app.js index 6b7fcde..8a896bb 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -2151,6 +2151,7 @@ if (dom.requireLoginForServerDetailsInput) dom.requireLoginForServerDetailsInput.value = settings.require_login_for_server_details ? "1" : "0"; if (dom.showServerIpInput) dom.showServerIpInput.value = settings.show_server_ip ? "1" : "0"; if (dom.cdnUrlInput) dom.cdnUrlInput.value = settings.cdn_url || ''; + if (dom.prometheusCacheTtlInput) dom.prometheusCacheTtlInput.value = settings.prometheus_cache_ttl !== undefined ? settings.prometheus_cache_ttl : 30; // Handle Theme Priority: localStorage > Site Default const savedTheme = localStorage.getItem('theme');