feat: Modify HTTP API listen host to 0.0.0.0
This commit is contained in:
parent
5792f798ed
commit
43bf411ee1
@ -101,7 +101,7 @@ async def http_init(source: DataSource):
|
||||
app.add_routes(routes)
|
||||
runner = web.AppRunner(app)
|
||||
await runner.setup()
|
||||
site = web.TCPSite(runner, 'localhost', port)
|
||||
site = web.TCPSite(runner, '0.0.0.0', port)
|
||||
try:
|
||||
await site.start()
|
||||
except OSError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user