fix: password failed due to character escaping
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user