Skip to content

Commit c52952c

Browse files
author
Jon Staab
committed
Only match / for index
1 parent 8271671 commit c52952c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zooid/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func MakeInstance(filename string) (*Instance, error) {
9898

9999
router := instance.Relay.Router()
100100

101-
router.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
101+
router.HandleFunc("/{$}", func(w http.ResponseWriter, r *http.Request) {
102102
http.ServeFile(w, r, "templates/index.html")
103103
})
104104

0 commit comments

Comments
 (0)