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 2c3849f commit aa2a0f4
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 @@ -886,7 +886,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 @@ -902,7 +902,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 @@ -1759,4 +1759,4 @@ async function nginx() {
</html>
`
return text;
}
}

0 comments on commit aa2a0f4

Please sign in to comment.