React-Frontend ausliefern, altes Vanilla-Frontend entfernt

- frontend.go: Seitenrouten liefern die index.html (no-cache), gehashte
  Assets unter /assets dauerhaft cachebar, sonst echtes 404
- /stats als Seite, /stats.html leitet per 301 weiter
- Containerfile: Node-Stage baut das Frontend nach web/
- Vite baut nach ../web (gitignored); web/ (Vanilla-JS) gelöscht
- notes/frontend.md, deploy.md angepasst

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
irrlicht
2026-09-26 23:49:20 +02:00
co-authored by Claude Opus 5.5
parent 728ac9b45e
commit 9cac33d167
22 changed files with 129 additions and 1368 deletions
-6
View File
@@ -150,12 +150,6 @@ func handleUserFeed(w http.ResponseWriter, r *http.Request) error {
return nil
}
// serveEntryPage liefert die statische Focus-Seite; das Frontend lädt die Daten
// dann über /entry/{pid}/thread.
func serveEntryPage(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "web/entry.html")
}
var (
errEntryNotFound = NotFound("entry.not_found", "Beitrag nicht gefunden")
errEntryNotOwned = Forbidden("entry.not_owner", "Das ist nicht dein Beitrag.")