fix: password failed due to character escaping

This commit is contained in:
huzibaca 2024-11-25 02:48:56 +08:00
parent dfefcf03ad
commit 39a3c3d3a7

View File

@ -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");