mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 09:13:45 +08:00
fix: password failed due to character escaping
This commit is contained in:
parent
dfefcf03ad
commit
39a3c3d3a7
@ -21,7 +21,7 @@ const buildWSUrl = (server: string, secret: string, logLevel: LogLevel) => {
|
|||||||
const params = new URLSearchParams();
|
const params = new URLSearchParams();
|
||||||
|
|
||||||
if (secret) {
|
if (secret) {
|
||||||
params.append("token", encodeURIComponent(secret));
|
params.append("token", secret);
|
||||||
}
|
}
|
||||||
if (logLevel === "all") {
|
if (logLevel === "all") {
|
||||||
params.append("level", "debug");
|
params.append("level", "debug");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user