From 975ffa0b9cf9ad2aee99e4317cede442c5c6abc0 Mon Sep 17 00:00:00 2001 From: orangix Date: Fri, 23 Jan 2026 19:42:55 +0100 Subject: [PATCH] uncomment stack handler --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 58000ad..c327f31 100644 --- a/main.go +++ b/main.go @@ -109,7 +109,7 @@ func main() { return pages.HandlePost(w, r) } })) - // app.Handle("GET /stack/:baseName.:extension", wrapHandler(pages.HandleMedia)) + app.Handle("GET /stack/{component}", wrapHandler(pages.HandleMedia)) // matches anything with no more specific route app.Handle("GET /", wrapHandler(func(w http.ResponseWriter, r *http.Request) error { err := render.Render(w, "errors/404", nil)