mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-12 02:09:03 +08:00
fix: trojan network tcp
This commit is contained in:
parent
1f505752ae
commit
46738d5947
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.22",
|
"version": "2.14.23",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -185,6 +185,9 @@ function safeMatch(parser, line) {
|
|||||||
|
|
||||||
function lastParse(proxy) {
|
function lastParse(proxy) {
|
||||||
if (proxy.type === 'trojan') {
|
if (proxy.type === 'trojan') {
|
||||||
|
if (proxy.network === 'tcp') {
|
||||||
|
delete proxy.network;
|
||||||
|
}
|
||||||
proxy.tls = true;
|
proxy.tls = true;
|
||||||
}
|
}
|
||||||
if (proxy.tls && !proxy.sni) {
|
if (proxy.tls && !proxy.sni) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user