mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-02 03:50:39 +08:00
Fixed QX trojan wss issue
This commit is contained in:
parent
4945826f2d
commit
69ccc6bd08
4
backend/dist/sub-store-parser.loon.min.js
vendored
4
backend/dist/sub-store-parser.loon.min.js
vendored
File diff suppressed because one or more lines are too long
@ -129,7 +129,7 @@ function trojan(proxy) {
|
|||||||
// obfs ws
|
// obfs ws
|
||||||
if (isPresent(proxy, 'network')) {
|
if (isPresent(proxy, 'network')) {
|
||||||
if (proxy.network === 'ws') {
|
if (proxy.network === 'ws') {
|
||||||
if (proxy.tls) append(`,obfs=wss`);
|
if (needTls(proxy)) append(`,obfs=wss`);
|
||||||
else append(`,obfs=ws`);
|
else append(`,obfs=ws`);
|
||||||
appendIfPresent(
|
appendIfPresent(
|
||||||
`,obfs-uri=${proxy['ws-opts'].path}`,
|
`,obfs-uri=${proxy['ws-opts'].path}`,
|
||||||
@ -145,9 +145,6 @@ function trojan(proxy) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// tls
|
// tls
|
||||||
if (needTls(proxy)) {
|
|
||||||
proxy.tls = true;
|
|
||||||
}
|
|
||||||
appendIfPresent(`,over-tls=${proxy.tls}`, 'tls');
|
appendIfPresent(`,over-tls=${proxy.tls}`, 'tls');
|
||||||
|
|
||||||
// tls fingerprint
|
// tls fingerprint
|
||||||
|
0
backend/src/core/proxy-utils/validators/index.js
Normal file
0
backend/src/core/proxy-utils/validators/index.js
Normal file
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user