forked from p15670423/monkey
commit
113db81e55
|
@ -218,7 +218,7 @@ class ConfigService:
|
||||||
def set_server_ips_in_config(config):
|
def set_server_ips_in_config(config):
|
||||||
ips = local_ip_addresses()
|
ips = local_ip_addresses()
|
||||||
config["internal"]["island_server"]["command_servers"] = \
|
config["internal"]["island_server"]["command_servers"] = \
|
||||||
["%s:%d" % (ip, env_singleton.env.get_islaned_port()) for ip in ips]
|
["%s:%d" % (ip, env_singleton.env.get_island_port()) for ip in ips]
|
||||||
config["internal"]["island_server"]["current_server"] = "%s:%d" % (ips[0], env_singleton.env.get_island_port())
|
config["internal"]["island_server"]["current_server"] = "%s:%d" % (ips[0], env_singleton.env.get_island_port())
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue