mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-29 16:01:38 +00:00
fix: 修复 mihomo 输入 servername 转换
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.21.32",
|
||||
"version": "2.21.33",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -1293,7 +1293,7 @@ function Clash_All() {
|
||||
}
|
||||
|
||||
// handle vmess sni
|
||||
if (['vmess', 'vless'].includes(proxy.type)) {
|
||||
if (['vmess', 'vless'].includes(proxy.type) && proxy.servername) {
|
||||
proxy.sni = proxy.servername;
|
||||
delete proxy.servername;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user