From f8060c9be28a3046b28090e17d64e4faec90ea2a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 20 Jun 2021 13:00:40 +0200 Subject: [PATCH] Allow resetting server URL with query param --- components/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app.js b/components/app.js index 7bc4ba8..1952c0c 100644 --- a/components/app.js +++ b/components/app.js @@ -204,7 +204,7 @@ export default class App extends Component { } let queryParams = parseQueryString(); - if (queryParams.server) { + if (typeof queryParams.server === "string") { connectParams.url = queryParams.server; // When using a custom server, some configuration options don't