mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +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…
x
Reference in New Issue
Block a user