mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 19:24:12 +08:00
fix(proxy): fixes #174
This commit is contained in:
parent
8242706290
commit
c0b04892c8
@ -9,10 +9,14 @@ export const formatTimeFromNow = (time: number | string) => {
|
||||
export const formatProxyType = (type = '') => {
|
||||
const t = type.toLowerCase()
|
||||
|
||||
if (t.includes('shadowsocks')) {
|
||||
if (t === 'shadowsocks') {
|
||||
return 'ss'
|
||||
}
|
||||
|
||||
if (t === 'shadowsocksr') {
|
||||
return 'ssr'
|
||||
}
|
||||
|
||||
return t
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user