Minor fixes

This commit is contained in:
世界 committed 2022-09-08 18:33:59 +08:00
1 parent 9cef2a0a8f
commit 7c30dde96b
2 files changed
+3 -5

No files matched your search

+3 -1
View File
@@ -75,11 +75,13 @@ func proxyInfo(server *Server, detour adapter.Outbound) *badjson.JSONObject {
clashType = "Shadowsocks"
case C.TypeVMess:
clashType = "Vmess"
case C.TypeTrojan:
clashType = "Trojan"
case C.TypeSelector:
clashType = "Selector"
isGroup = true
default:
clashType = "Unknown"
clashType = "Socks"
}
info.Put("type", clashType)
info.Put("name", detour.Tag())