run app on ipv4 localhost, chrome on osx disables ipv6 if no global ipv6 address is present
This commit is contained in:
parent
ad0a2a7b03
commit
689daa37db
4 changed files with 4 additions and 4 deletions
|
|
@ -102,7 +102,7 @@ def run():
|
|||
if ':' in settings.server['address']:
|
||||
host = '[%s]' % settings.server['address']
|
||||
elif not settings.server['address']:
|
||||
host = '[::1]'
|
||||
host = '127.0.0.1'
|
||||
else:
|
||||
host = settings.server['address']
|
||||
url = 'http://%s:%s/' % (host, settings.server['port'])
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ ui = pdict(os.path.join(config_path, 'ui.json'), config['user']['ui'])
|
|||
server = pdict(os.path.join(config_path, 'server.json'))
|
||||
server_defaults = {
|
||||
'port': 9842,
|
||||
'address': '::1',
|
||||
'address': '127.0.0.1',
|
||||
'node_port': 9851,
|
||||
'node_address': '',
|
||||
'extract_text': True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue