Bind API server to the configured host instead of localhost
This commit is contained in:
parent
9c5e2a8c8d
commit
86069b10ca
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class Daemon:
|
|||
async def start(self):
|
||||
self.console.starting()
|
||||
await self.runner.setup()
|
||||
site = TCPSite(self.runner, 'localhost', self.conf.api_port)
|
||||
site = TCPSite(self.runner, self.conf.api_host, self.conf.api_port)
|
||||
await site.start()
|
||||
await self.service.start()
|
||||
|
||||
|
|
Loading…
Reference in a new issue