Skip to content

Commit f22e7bc

Browse files
committed
fix: 修复 Stash dialer-proxy
1 parent 6f91bce commit f22e7bc

2 files changed

Lines changed: 6 additions & 1 deletion

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.21.26",
3+
"version": "2.21.27",
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/stash.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ export default function Stash_Producer() {
301301
}
302302
delete proxy['tls-fingerprint'];
303303

304+
if (proxy['underlying-proxy']) {
305+
proxy['dialer-proxy'] = proxy['underlying-proxy'];
306+
}
307+
delete proxy['underlying-proxy'];
308+
304309
if (isPresent(proxy, 'tls') && typeof proxy.tls !== 'boolean') {
305310
delete proxy.tls;
306311
}

0 commit comments

Comments
 (0)