Skip to content

Commit 1286244

Browse files
committed
revert: Shadowrocket Hysteria 2 obfs password 已经没问题了, 撤回兼容性修改
1 parent 818370d commit 1286244

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.20.14",
3+
"version": "2.20.15",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/core/proxy-utils/producers/shadowrocket.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ export default function Shadowrocket_Producer() {
8282
proxy['fast-open'] = proxy.tfo;
8383
}
8484
} else if (proxy.type === 'hysteria2') {
85-
if (proxy['obfs-password'] && proxy.obfs == 'salamander') {
86-
proxy.obfs = proxy['obfs-password'];
87-
delete proxy['obfs-password'];
88-
}
85+
// 新版已更改
86+
// if (proxy['obfs-password'] && proxy.obfs == 'salamander') {
87+
// proxy.obfs = proxy['obfs-password'];
88+
// delete proxy['obfs-password'];
89+
// }
8990
if (isPresent(proxy, 'alpn')) {
9091
proxy.alpn = Array.isArray(proxy.alpn)
9192
? proxy.alpn

0 commit comments

Comments
 (0)