fix(админка): чужая закладка больше не ломает навигацию

Обращение к несуществующей странице выбрасывало ошибку, и переключение разделов переставало
работать целиком (нашёл дипсик). Теперь неизвестный адрес просто ничего не делает.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RuEU1u9Rz24zmoy9TuvWc2
This commit is contained in:
anor
2026-09-10 22:05:28 +10:00
co-authored by Claude Opus 5
parent 42cc733190
commit c52ff94d80
3 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -2983,7 +2983,7 @@ async def admin_download_file_endpoint(request: Request):
return FileResponse(fpath, filename=safe_name, headers={"Referrer-Policy": "no-referrer"})
ADMIN_HTML_VERSION = "20260910d"
ADMIN_HTML_VERSION = "20260910e"
@app.get("/admin", response_class=HTMLResponse)