feat(proxy): add more adapter types to be processed by formatProxyType

This commit is contained in:
kunish 2023-09-07 19:47:10 +08:00
parent 0cb0109d43
commit 82452688c9
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -17,6 +17,14 @@ export const formatProxyType = (type = '') => {
return 'ssr'
}
if (t === 'hysteria') {
return 'hy'
}
if (t === 'wireguard') {
return 'wg'
}
return t
}