Skip to content

Commit

Permalink
Update _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ansoncloud8 authored Oct 14, 2024
1 parent 007e92c commit a867982
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ function getConfigHtml(userID, host, remark, v2ray, clash) {
<a href="t.me/AM_CLUBS" target="_blank">t.me/AM_CLUBS</a>
</br></br>
GitHub项目地址 点击Star!Star!Star!</br>
<a href="https://github.com/amclubs/am-cf-tunnel" target="_blank">https://github.com/am-cf-tunnel</a>
<a href="https://github.com/amclubs/am-cf-tunnel" target="_blank">https://github.com/amclubs/am-cf-tunnel</a>
</br></br>
YouTube频道,订阅频道,更多技术分享</br>
<a href="https://youtube.com/@AM_CLUB" target="_blank">https://youtube.com/@AM_CLUB</a>
Expand Down 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 a867982

Please sign in to comment.