mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
fix: 更新配置JSON字段以正确获取页面和工作者使用情况
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user