fix: a problem that the node name was presented in undecoded form

This commit is contained in:
mzz2017 committed 2021-05-17 10:47:43 +08:00
1 parent a616ab6896
commit 8ec288c40f
1 file changed
+1 -1
+1 -1
View File
@@ -834,7 +834,7 @@ export default {
password: u.username,
server: u.host,
port: u.port,
name: u.hash,
name: decodeURIComponent(u.hash),
peer: u.params.peer || u.params.sni || "",
allowInsecure:
u.params.allowInsecure === true || u.params.allowInsecure === "1",