Skip to content

Commit d38ee19

Browse files
authored
Update index.js
1 parent 6d1de81 commit d38ee19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ async function handleUDPOutBound(webSocket, streamResponseHeader, log) {
502502
function getDianaConfig(userCode, hostName) {
503503
const protocol = decodeSecure(ENCODED.PROTOCOL);
504504
const networkType = decodeSecure(ENCODED.NETWORK);
505-
const baseUrl = `${protocol}://${userCode}@${hostName}:443`;
505+
const baseUrl = `${protocol}://${userCode}@${hostName}:443`;
506506
const commonParams = `encryption=none&host=${hostName}&type=${networkType}` +
507507
`&security=tls&sni=${hostName}`;
508508

@@ -548,14 +548,14 @@ ${networkType}-opts:
548548
headers:
549549
host: ${hostName}
550550
551-
552551
⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑⁑
553552
${atob('VEcgY2hhbm5lbDogaHR0cHM6Ly90Lm1lL3MvRl9OaVJFdmls')}
554553
${atob('U3JjIGNvZGU6IGh0dHBzOi8vZ2l0aHViLmNvbS9OaVJFdmlsL3ppemlmbg==')}
555554
**********************************************
556555
`;
557556
}
558557

558+
559559
/**
560560
* this is not real UUID validation
561561
* @param {string} uuid

0 commit comments

Comments
 (0)