forked from Hay1tsme/artemis
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user