添加屏蔽协议到面板,免去手动操作

This commit is contained in:
qaq
2025-10-31 15:58:49 +08:00
parent b587193e74
commit d6feb17b86
14 changed files with 336 additions and 27 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import (
"context"
"flag"
"fmt"
//"github.com/apernet/OpenGFW/cmd"
"log"
_ "net/http/pprof"
"os"
@@ -120,7 +119,7 @@ func main() {
log := xlogger.NewLogger()
logger.SetDefault(log)
wsReporter := socket.StartWebSocketReporterWithConfig(config.Addr, config.Secret, "1.2.2")
wsReporter := socket.StartWebSocketReporterWithConfig(config.Addr, config.Secret, config.Http, config.Tls, config.Socks, "1.2.3")
defer wsReporter.Stop()
service.SetHTTPReportURL(config.Addr, config.Secret)