style: change file path for pass_stats in statistics

This commit is contained in:
SunBK201 2025-11-03 15:29:18 +08:00
parent 38591c2743
commit 98969cee5e
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ if rewrite_stats_file then
end
local pass_stats = {}
local pass_stats_file = io.open("/var/log/ua3f/passthrough_stats", "r")
local pass_stats_file = io.open("/var/log/ua3f/pass_stats", "r")
if pass_stats_file then
for line in pass_stats_file:lines() do
local host, count, ua = line:match("^(%S+)%s(%d+)%s(.+)$")

View File

@ -8,7 +8,7 @@ import (
"github.com/sirupsen/logrus"
)
const passthroughStatsFile = "/var/log/ua3f/passthrough_stats"
const passthroughStatsFile = "/var/log/ua3f/pass_stats"
type PassThroughRecord struct {
Host string