mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +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…
Reference in New Issue
Block a user