mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 19:24: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
|
||||
}
|
||||
|
||||
if (t === 'hysteria') {
|
||||
return 'hy'
|
||||
if (t.includes('hysteria')) {
|
||||
return t.replace('hysteria', 'hy')
|
||||
}
|
||||
|
||||
if (t === 'wireguard') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user