mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 19:24:12 +08:00
fix(proxies): format proxy type
This commit is contained in:
parent
72dc346f0e
commit
1c61df8b8b
@ -10,7 +10,7 @@ export const formatProxyType = (type = '') => {
|
||||
const t = type.toLowerCase()
|
||||
|
||||
if (t.includes('shadowsocks')) {
|
||||
return type.replace('shadowsocks', 'ss') // for both ss and ssr
|
||||
return t.replace('shadowsocks', 'ss') // for both ss and ssr
|
||||
}
|
||||
|
||||
if (t === 'hysteria') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user