Skip to content

Commit ea13f04

Browse files
authored
wspath
1 parent b75a4a1 commit ea13f04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

明文源吗

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ async function generateTrojanLinksFromSource(list, user, workerDomain) {
12331233
const defaultHttpsPorts = [443];
12341234
const defaultHttpPorts = disableNonTLS ? [] : [80];
12351235
const links = [];
1236-
const wsPath = encodeURIComponent('/');
1236+
const wsPath = '/';
12371237

12381238
const password = tp || user;
12391239

@@ -3344,7 +3344,7 @@ function generateLinksFromNewIPs(list, user, workerDomain) {
33443344
const CF_HTTPS_PORTS = [443, 2053, 2083, 2087, 2096, 8443];
33453345

33463346
const links = [];
3347-
const wsPath = encodeURIComponent('/');
3347+
const wsPath = '/';
33483348
const proto = atob('dmxlc3M=');
33493349

33503350
list.forEach(item => {
@@ -3408,7 +3408,7 @@ async function generateTrojanLinksFromNewIPs(list, user, workerDomain) {
34083408
const CF_HTTPS_PORTS = [443, 2053, 2083, 2087, 2096, 8443];
34093409

34103410
const links = [];
3411-
const wsPath = encodeURIComponent('/');
3411+
const wsPath = '/';
34123412

34133413
const password = tp || user;
34143414

0 commit comments

Comments
 (0)