修复数据库

This commit is contained in:
CN-JS-HuiBai
2026-04-06 18:27:11 +08:00
parent 41bdb38d51
commit 0602e37bc9

View File

@@ -5,8 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="LDNET-GA">
<title>LDNET-GA</title>
<link rel="icon" id="siteFavicon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📊</text></svg>">
<title></title>
<link rel="icon" id="siteFavicon" href="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
@@ -30,11 +30,16 @@
document.documentElement.classList.add('light-theme');
}
// Also apply title if available to prevent flicker
// Also apply title and favicon if available to prevent flicker
if (settings.page_name) {
document.title = settings.page_name;
}
if (settings.favicon_url) {
const link = document.getElementById('siteFavicon');
if (link) link.href = settings.favicon_url;
}
// Advanced Anti-Flicker: Wait for header elements to appear
const observer = new MutationObserver(function(mutations, me) {
const logoText = document.getElementById('logoText');