From 3f42a08020b302190218711353cf70986c13e8b9 Mon Sep 17 00:00:00 2001 From: anish-work Date: Tue, 30 Jul 2024 18:47:12 +0530 Subject: [PATCH] put root router to last in order --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 2a8744c2a..6d187eb63 100644 --- a/server.py +++ b/server.py @@ -63,11 +63,11 @@ app.include_router(account.app, include_in_schema=False) app.include_router(facebook_api.app, include_in_schema=False) app.include_router(slack_api.router, include_in_schema=False) -app.include_router(root.app, include_in_schema=False) app.include_router(url_shortener.app, include_in_schema=False) app.include_router(paypal.router, include_in_schema=False) app.include_router(stripe.router, include_in_schema=False) app.include_router(twilio_api.router, include_in_schema=False) +app.include_router(root.app, include_in_schema=False) # this has a catch-all route app.add_middleware( CORSMiddleware,