mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-10-11 17:58:13 +08:00
Improve: clean code
This commit is contained in:
1 parent
fc4f119049
commit
ebe1cee6dc
7 files changed
+97
-83
No files matched your search
@@ -75,5 +75,5 @@ func handleConn(conn net.Conn) {
|
||||
peeked, _ = br.Peek(br.Buffered())
|
||||
}
|
||||
|
||||
tun.Add(adapters.NewHttp(hostName, peeked, method != http.MethodConnect, conn))
|
||||
tun.Add(adapters.NewHTTP(hostName, peeked, method != http.MethodConnect, conn))
|
||||
}
|
||||
Reference in new issue
Block a user