Skip to content

Commit

Permalink
add x and s prefix support
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 29, 2024
1 parent 8acc89f commit 0dd13bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ray2sing/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ var configTypes = map[string]ParserFunc{
"vmess://": VmessSingbox,
"vless://": VlessSingbox,
"trojan://": TrojanSingbox,
"svmess://": VmessSingbox,
"svless://": VlessSingbox,
"strojan://": TrojanSingbox,
"ss://": ShadowsocksSingbox,
"tuic://": TuicSingbox,
"hysteria://": HysteriaSingbox,
Expand All @@ -34,6 +37,10 @@ var configTypes = map[string]ParserFunc{
"phttps://": HttpsSingbox,
"http://": HttpSingbox,
"https://": HttpsSingbox,
"xvmess://": VmessXray,
"xvless://": VlessXray,
"xtrojan://": TrojanXray,
"xdirect://": DirectXray,
}
var xrayConfigTypes = map[string]ParserFunc{
"vmess://": VmessXray,
Expand Down

0 comments on commit 0dd13bb

Please sign in to comment.