Client modified to work on any address

This commit is contained in:
Pax1601 2023-03-29 08:51:05 +02:00
parent 6a1bb18a3f
commit ab51a76075
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -80,7 +80,7 @@ function readConfig(config: any)
const port = config["server"]["port"];
if ((typeof address === 'string' || address instanceof String) && typeof port == 'number')
{
setAddress(<string>address, <number>port);
setAddress(window.location.hostname, <number>port);
}
/* On the first connection, force request of full data */