mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
chore: Format hysteria2
as hy2
. (#925)
This commit is contained in:
parent
51a88b506c
commit
87867a4ac7
@ -8,8 +8,8 @@ export const formatProxyType = (type = '') => {
|
|||||||
return t.replace('shadowsocks', 'ss') // for both ss and ssr
|
return t.replace('shadowsocks', 'ss') // for both ss and ssr
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t === 'hysteria') {
|
if (t.includes('hysteria')) {
|
||||||
return 'hy'
|
return t.replace('hysteria', 'hy')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t === 'wireguard') {
|
if (t === 'wireguard') {
|
||||||
|
Loading…
Reference in New Issue
Block a user