FastAPI's new app.frontend() fixes a route-order bug in manual SPA serving

DEV Community·8 points·alexgeorgiev17·11 days ago·dev.to

I tested FastAPI 0.138's app.frontend() against the two patterns it replaces. A catch-all route declared before an API route returns HTTP 200 with the wrong body; app.frontend() gets the order right regardless, at the same ~440 req/s.

Read the full article at dev.to →

Related stories

Related topics