Default the host configuration to 0.0.0.0
This commit is contained in:
parent
782e0b0ad6
commit
790e0a1ce5
2 changed files with 5 additions and 8 deletions
|
|
@ -57,7 +57,7 @@ def main():
|
|||
config = parse_config(args.config)
|
||||
app = create_app('Cereal', config)
|
||||
logger.info(str(config))
|
||||
serve(app, host='0.0.0.0' if config.host is None else config.host, port=config.port)
|
||||
serve(app, host=config.host, port=config.port)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue