fix allnet requests not being received if billing is not standalone

https://github.com/encode/starlette/issues/380#issuecomment-462257965
This commit is contained in:
2024-04-21 07:54:18 +00:00
parent 2d0c26c6ca
commit 1717435f9d

View File

@ -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()