From 572268e9f6f2b8a80e16fcbc3b7bba05815cae3f Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 17 Nov 2024 15:12:14 +0100 Subject: [PATCH] fix naive link #359 --- frontend/src/plugins/link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/plugins/link.ts b/frontend/src/plugins/link.ts index 94b5b1ba..c5f9236c 100644 --- a/frontend/src/plugins/link.ts +++ b/frontend/src/plugins/link.ts @@ -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) {