nuke all old UIs — templates, React SPA, /v2 mount, legacy routes

Removed:
- src/web/templates/*.html (all 6 Jinja2 template files)
- src/web/ui-dist/ (old React SPA build)
- /v2 duplicate static mount (same as /)
- /ui static mount (old React SPA)

Server.py changes:
- Root handler now directly serves v2 UI (no fallback chain)
- Old template routes (/presets, /models, /irs, /settings) → redirect to /
- Removed Jinja2Templates, TEMPLATES_DIR, TEMPLATE_VERSION, UI_DIST_DIR
This commit is contained in:
2026-06-16 18:45:04 -04:00
parent 9cc08d16da
commit 7078217783
12 changed files with 23 additions and 860 deletions
-14
View File
@@ -1,14 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/ui/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ui</title>
<script type="module" crossorigin src="/ui/assets/index-DFFBeBW_.js"></script>
<link rel="stylesheet" crossorigin href="/ui/assets/index-D3aC6klh.css">
</head>
<body>
<div id="root"></div>
</body>
</html>