From c52952cc7f0d724eafc8456a3890b0aa3e1c4532 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Mon, 10 Nov 2025 16:01:43 -0800 Subject: [PATCH] Only match / for index --- zooid/instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zooid/instance.go b/zooid/instance.go index 40f483b..61689bc 100644 --- a/zooid/instance.go +++ b/zooid/instance.go @@ -98,7 +98,7 @@ func MakeInstance(filename string) (*Instance, error) { router := instance.Relay.Router() - router.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + router.HandleFunc("/{$}", func(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "templates/index.html") })