diff --git a/public/css/main.css b/public/css/main.css index f4c9e34..64c4e08 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -108,9 +108,9 @@ table { transition: opacity 0.3s ease; } -.fade { +/* .fade { opacity: 0.6; -} +} */ .endpoint-link { /* color: #666; 默认字体颜色改为深灰色 */ diff --git a/public/index.html b/public/index.html index ba6e851..5d3603c 100644 --- a/public/index.html +++ b/public/index.html @@ -67,7 +67,7 @@ if (detailElement) detailElement.classList.add('fade'); // 获取数据 - const response = await fetch('https://random-api.czl.net/stats'); + const response = await fetch('/stats'); const stats = await response.json(); // 更新统计 @@ -136,6 +136,7 @@