Skip to content

Commit

Permalink
fix naive link alireza0#359
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Nov 17, 2024
1 parent 0101e34 commit 572268e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/plugins/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 572268e

Please sign in to comment.