routes: wildcard multiplex route at the end
Wed, 14 Dec 2022
1 files changed,
2 insertions(+),
2 deletions(-)
M
routes/handler.go
@@ -30,7 +30,7 @@ } else if gitCommand.MatchString(path) && r.Method == "POST" {
dw.gitsvc.ServeHTTP(w, r) } else if r.Method == "GET" { log.Println("index:", r.URL.String()) - dw.actualDeps.Index(w, r) + dw.actualDeps.RepoIndex(w, r) } }@@ -54,12 +54,12 @@ })
mux.HandleFunc("/", d.Index, "GET")
… preview truncated