diff --git a/smart_kit/start_points/main_loop_async_http.py b/smart_kit/start_points/main_loop_async_http.py index 46fa75ca..0ef9664e 100644 --- a/smart_kit/start_points/main_loop_async_http.py +++ b/smart_kit/start_points/main_loop_async_http.py @@ -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)])