From 1717435f9d0a06701db04f11a1f050cc85686a2a Mon Sep 17 00:00:00 2001 From: beerpsi Date: Sun, 21 Apr 2024 07:54:18 +0000 Subject: [PATCH] fix allnet requests not being received if billing is not standalone https://github.com/encode/starlette/issues/380#issuecomment-462257965 --- core/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/app.py b/core/app.py index 8d4f25e..cf8d0e8 100644 --- a/core/app.py +++ b/core/app.py @@ -40,10 +40,10 @@ route_lst: List[Route] = [ ] if not cfg.billing.standalone: - route_lst.append(Mount("/", app_billing)) + route_lst += app_billing.router.routes if not cfg.allnet.standalone: - route_lst.append(Mount("/", app_allnet)) + route_lst += app_allnet.router.routes for code, game in title.title_registry.items(): route_lst += game.get_routes()