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
- Hacker News · 1 points · 7 days ago
- DEV Community · 2 points · 5 days ago
- Hacker News · 377 points · 16 days ago
- Hacker News · 4 points · 4 days ago
- DEV Community · 16 points · about 5 hours ago
- Hacker News · 1 points · 6 days ago