Default the host configuration to 0.0.0.0

This commit is contained in:
Campbell Alden 2026-08-05 00:10:55 +09:00
parent 782e0b0ad6
commit 790e0a1ce5
2 changed files with 5 additions and 8 deletions

View file

@ -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__':