mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
ipv6 compatibility
This commit is contained in:
parent
dd9ccfa3d2
commit
42de962cbf
1 changed files with 4 additions and 1 deletions
|
@ -134,7 +134,10 @@ class UiServer:
|
|||
from Debug import DebugReloader
|
||||
self.log.write = lambda msg: self.log.debug(msg.strip()) # For Wsgi access.log
|
||||
self.log.info("--------------------------------------")
|
||||
self.log.info("Web interface: http://%s:%s/" % (config.ui_ip, config.ui_port))
|
||||
if ":" in config.ui_ip:
|
||||
self.log.info("Web interface: http://[%s]:%s/" % (config.ui_ip, config.ui_port))
|
||||
else:
|
||||
self.log.info("Web interface: http://%s:%s/" % (config.ui_ip, config.ui_port))
|
||||
self.log.info("--------------------------------------")
|
||||
|
||||
if config.open_browser and config.open_browser != "False":
|
||||
|
|
Loading…
Reference in a new issue