修复CDN错误的问题

This commit is contained in:
CN-JS-HuiBai
2026-04-24 16:03:02 +08:00
parent e05c681429
commit 6e4b444404

View File

@@ -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');