fix naive link #359

This commit is contained in:
Alireza Ahmadi
2024-11-17 15:12:14 +01:00
parent 0101e342a0
commit 572268e9f6
+1 -1
View File
@@ -179,7 +179,7 @@ export namespace LinkUtil {
tfo: inbound.tcp_fast_open? 1 : 0,
allowInsecure: tlsClient?.insecure ? 1 : null
}
const uri = `http2://${utf8ToBase64(user + ":" + password + "@" + location.hostname + ":" + inbound.listen_port)}`
const uri = `http2://${utf8ToBase64(user.name + ":" + password + "@" + location.hostname + ":" + inbound.listen_port)}`
const paramsArray = []
for (const [key, value] of Object.entries(params)){
if (value) {