refactor: WireGuard endpoint

This commit is contained in:
世界 committed 2025-01-13 15:14:30 +08:00
1 parent fd299a0961
commit 68781387fe
89 files changed
+2186 -678

No files matched your search

+1 -1
View File
@@ -69,5 +69,5 @@ func preRun(cmd *cobra.Command, args []string) {
configPaths = append(configPaths, "config.json")
}
globalCtx = service.ContextWith(globalCtx, deprecated.NewStderrManager(log.StdLogger()))
globalCtx = box.Context(globalCtx, include.InboundRegistry(), include.OutboundRegistry())
globalCtx = box.Context(globalCtx, include.InboundRegistry(), include.OutboundRegistry(), include.EndpointRegistry())
}