forked from p34709852/monkey
parent
afcbbb880c
commit
4de9e92ce2
|
@ -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