mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Client modified to work on any address
This commit is contained in:
parent
6a1bb18a3f
commit
ab51a76075
BIN
client/public/javascripts/bundle.zip
Normal file
BIN
client/public/javascripts/bundle.zip
Normal file
Binary file not shown.
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user