Skip to content

Commit

Permalink
Update _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amclubs authored Oct 14, 2024
1 parent 531ecf9 commit 1d822e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ function splitNodeData(uniqueIpTxt, noTLS, host, uuid, userAgent) {
if (match) {
address = match[1];
port = match[2] || port;
remarks = match[3] || address;
remarks = match[3] || host;
} else {
let ip, newPort, extra;

Expand All @@ -1433,7 +1433,7 @@ function splitNodeData(uniqueIpTxt, noTLS, host, uuid, userAgent) {

address = ip;
port = newPort || port;
remarks = extra || address;
remarks = extra || host;

// console.log(`splitNodeData---> ip: ${ip} \n extra: ${extra} \n port: ${port}`);
}
Expand Down Expand Up @@ -2130,4 +2130,4 @@ async function nginx() {
</html>
`
return text;
}
}

0 comments on commit 1d822e0

Please sign in to comment.