Allow resetting server URL with query param

This commit is contained in:
Simon Ser 2021-06-20 13:00:40 +02:00
parent 42e0c939f3
commit f8060c9be2

View file

@ -204,7 +204,7 @@ export default class App extends Component {
} }
let queryParams = parseQueryString(); let queryParams = parseQueryString();
if (queryParams.server) { if (typeof queryParams.server === "string") {
connectParams.url = queryParams.server; connectParams.url = queryParams.server;
// When using a custom server, some configuration options don't // When using a custom server, some configuration options don't