fix: redirect links from pkg.go.dev
1 file changed, 1 insertion(+), 1 deletion(-)
jump to
M routes/handler.go → routes/handler.go
@@ -68,7 +68,7 @@ mux.NotFoundHandler = func(w http.ResponseWriter, r *http.Request) { d.Write404(w) } - mux.RedirectTrailingSlash = false + mux.RedirectTrailingSlash = true mux.GET("/", d.Index) mux.GET("/static/:file", d.ServeStatic)