add a page for tickets from gitea (#2)

Co-authored-by: Blake Ridgway <blake@blakeridgway.com>
Reviewed-on: #2
This commit is contained in:
2026-04-13 03:51:22 -05:00
parent 5bc3050dd4
commit b1feff3bbf
16 changed files with 782 additions and 12 deletions

View File

@@ -45,6 +45,9 @@ func main() {
checker.Start(dataDir, checkInterval)
log.Printf("service checker running every %s", checkInterval)
// Start Twitch live status poller
h.StartTwitch(0)
mux := http.NewServeMux()
// Static files
@@ -70,6 +73,7 @@ func main() {
mux.HandleFunc("GET /resume", h.Resume)
mux.HandleFunc("POST /newsletter", h.NewsletterPost)
mux.HandleFunc("GET /changelog", h.Changelog)
mux.HandleFunc("GET /stream", h.Stream)
mux.HandleFunc("GET /sitemap.xml", h.Sitemap)
// Admin routes (auth handled per-handler)