mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-21 18:10:54 -04: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…
Add table
Add a link
Reference in a new issue