Skip to content

Commit

Permalink
Merge pull request #161 from Mikhail-Gl96/bug/incorrect-aiohttp-app-init
Browse files Browse the repository at this point in the history
bug/incorrect-aiohttp-app-init:
  • Loading branch information
SyrexMinus authored Nov 8, 2023
2 parents 7a5dc94 + 202a702 commit 145b4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_kit/start_points/main_loop_async_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

class AIOHttpMainLoop(BaseHttpMainLoop):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.app = aiohttp.web.Application()
super().__init__(*args, **kwargs)
self.app.add_routes([aiohttp.web.route('*', '/health', self.get_health_check)])
self.app.add_routes([aiohttp.web.route('*', '/{tail:.*}', self.iterate)])

Expand Down

0 comments on commit 145b4fc

Please sign in to comment.