Skip to content

Commit b1cc4bd

Browse files
committed
fix: 修复 Egern VMesss legacy
1 parent ff5bb13 commit b1cc4bd

2 files changed

Lines changed: 2 additions & 3 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.18",
3+
"version": "2.20.19",
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/egern.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export default function Egern_Producer() {
272272
user_id: proxy.uuid,
273273
security,
274274
tfo: proxy.tfo || proxy['fast-open'],
275-
legacy: proxy.legacy,
275+
legacy: !proxy.aead,
276276
udp_relay:
277277
proxy.udp || proxy.udp_relay || proxy.udp_relay,
278278
next_hop: proxy.next_hop,
@@ -329,7 +329,6 @@ export default function Egern_Producer() {
329329
user_id: proxy.uuid,
330330
security: proxy.cipher,
331331
tfo: proxy.tfo || proxy['fast-open'],
332-
legacy: proxy.legacy,
333332
udp_relay:
334333
proxy.udp || proxy.udp_relay || proxy.udp_relay,
335334
next_hop: proxy.next_hop,

0 commit comments

Comments
 (0)