fix(proxies): format proxy type

This commit is contained in:
Zephyruso 2023-09-10 11:20:40 +08:00
parent 72dc346f0e
commit 1c61df8b8b

View File

@ -10,7 +10,7 @@ export const formatProxyType = (type = '') => {
const t = type.toLowerCase() const t = type.toLowerCase()
if (t.includes('shadowsocks')) { 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') { if (t === 'hysteria') {