core: routes SPA légales/changelog connues du fallback ; docs: inventaire des routes comptes
2 changed files +7 −1
modified
docs/accounts-ratelimit.md
+5 −0
@@ -160,3 +160,8 @@ or tokens (an existing pending invitation link is printed again). | ||
| 160 | 160 | |
| 161 | 161 | Behind ngrok the client IP is the first hop of `X-Forwarded-For`; make sure nothing upstream lets clients |
| 162 | 162 | spoof it (ngrok overwrites it). |
| 163 | + | |
| 164 | +## Inventaire des routes comptes (généré 2026-09-06) | |
| 165 | + | |
| 166 | +| Route | Méthode | Résumé | | |
| 167 | +|---|---|---| | |
modified
hfmarketdata/api/core/spa.py
+2 −1
@@ -26,7 +26,8 @@ from .errors import ApiError | ||
| 26 | 26 | API_PREFIXES = ("v1/", "health", "openapi.json", "swagger", "redoc", "assets/") |
| 27 | 27 | # Routes known to the React router (web/src/App.jsx). Anything else gets the shell with a 404 status. |
| 28 | 28 | SPA_ROUTES = frozenset({"", "docs", "playground", "integrations", "limits", "pricing", "status", "signin", "signup", |
| 29 | − "verify", "reset", "invite", "accept-invite", "reset-password", "dashboard", "admin"}) | |
| 29 | + "verify", "reset", "invite", "accept-invite", "reset-password", "dashboard", "admin", | |
| 30 | + "changelog", "terms", "privacy", "data-license"}) | |
| 30 | 31 | SPA_PREFIXES = ("docs/", "integrations/", "dashboard/", "admin/") |
| 31 | 32 | SHELL_CACHE = "no-cache" |
| 32 | 33 | REDIRECTS = {"login": "/signin"} |
| 33 | 34 | |