From 520c310a4760909a756e4e6af20081273d747705 Mon Sep 17 00:00:00 2001 From: Misaka-blog Date: Wed, 17 Apr 2024 08:34:09 +0800 Subject: [PATCH] Try to fix for Error 1101 for worker --- _worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_worker.js b/_worker.js index 6eb20d5..9e2c492 100644 --- a/_worker.js +++ b/_worker.js @@ -746,8 +746,8 @@ async function handleUDPOutBound(webSocket, vlessResponseHeader, log) { * @returns {string} */ function getVLESSConfig(userID, hostName) { - const vlessLink = `vless://${userID}@www.gov.se:80?encryption=none&security=none&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#Misaka-workers` - const vlessTlsLink = `vless://${userID}@www.gov.se:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#Misaka-workers-TLS` + const vlessLink = `vless://${userID}\u0040www.gov.se:80?encryption=none&security=none&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#Misaka-workers` + const vlessTlsLink = `vless://${userID}\u0040www.gov.se:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#Misaka-workers-TLS` return ` 下面是非 TLS 端口的节点信息及分享链接,可使用 CF 支持的非 TLS 端口: