Skip to content

Commit

Permalink
Bind API server to the configured host instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Jul 14, 2020
1 parent 9c5e2a8 commit 86069b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/service/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def graceful_exit():
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()

Expand Down

0 comments on commit 86069b1

Please sign in to comment.