Skip to content

Commit

Permalink
not blocking API
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed May 24, 2024
1 parent a9dca86 commit 86725e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ async def main(path=None):
await runner.setup()
site = web.TCPSite(runner, '0.0.0.0', 5050)
await site.start()
while True:
await asyncio.sleep(3600)
else:
static_files = Path(__file__).parent.parent.resolve() / "ui" / "static"
beacon.add_routes([web.static("/static", str(static_files))])
Expand Down

0 comments on commit 86725e3

Please sign in to comment.