fix: password failed due to character escaping

This commit is contained in:
huzibaca 2024-11-25 02:48:56 +08:00
parent 746763ed34
commit 5c3f0d5b60
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -21,7 +21,7 @@ const buildWSUrl = (server: string, secret: string, logLevel: LogLevel) => {
const params = new URLSearchParams();
if (secret) {
params.append("token", encodeURIComponent(secret));
params.append("token", secret);
}
if (logLevel === "all") {
params.append("level", "debug");