mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Allow resetting server URL with query param
This commit is contained in:
parent
42e0c939f3
commit
f8060c9be2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue