fix: 更新配置JSON字段以正确获取页面和工作者使用情况

This commit is contained in:
cmliu
2025-11-06 01:41:05 +08:00
parent cd407070d2
commit ea0e5a8336

View File

@@ -181,8 +181,8 @@ export default {
const UD = Math.floor(((now - today.getTime()) / 86400000) * 24 * 1099511627776 / 2);
let pagesSum = UD, workersSum = UD, total = 24 * 1099511627776;
if (config_JSON.CF.Usage.success) {
pagesSum = config_JSON.CF.Usage.pages_sum;
workersSum = config_JSON.CF.Usage.workers_sum;
pagesSum = config_JSON.CF.Usage.pages;
workersSum = config_JSON.CF.Usage.workers;
total = 1024 * 100;
}
const responseHeaders = {