mirror of https://github.com/D4-project/d4-core
fix: [Flask] fix flask host
parent
04fab82f5e
commit
ac301b5360
|
@ -66,8 +66,9 @@ if server_mode not in all_server_modes:
|
|||
print('Error: incorrect server_mode')
|
||||
|
||||
try:
|
||||
FLASK_HOST = config_loader.get_config_int("Flask_Server", "host")
|
||||
FLASK_HOST = config_loader.get_config_str("Flask_Server", "host")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
FLASK_HOST = '127.0.0.1'
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue