Fix QX SSR issue

This commit is contained in:
Peng-YM 2022-06-21 09:24:33 +08:00
parent bca4f06fcd
commit 05b03b5337
4 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.1.0",
"version": "2.1.2",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {

View File

@ -91,15 +91,15 @@ function shadowsocksr(proxy) {
const append = result.append.bind(result);
const appendIfPresent = result.appendIfPresent.bind(result);
append(`shadowsocksr=${proxy.server}:${proxy.port}`);
append(`shadowsocks=${proxy.server}:${proxy.port}`);
append(`,method=${proxy.cipher}`);
append(`,password=${proxy.password}`);
// ssr protocol
append(`,ssr-protocol=${proxy.protocol}`);
appendIfPresent(
`,ssr-proctol-param=${proxy['proctol-param']}`,
'proctol-param',
`,ssr-protocol-param=${proxy['protocol-param']}`,
'protocol-param',
);
// obfs

File diff suppressed because one or more lines are too long