diff --git a/commands/server.go b/commands/server.go index 921b9fbdb..06f8d610a 100644 --- a/commands/server.go +++ b/commands/server.go @@ -121,7 +121,7 @@ func serve(port int) { if u.Path == "" || u.Path == "/" { http.Handle("/", fileserver) } else { - http.Handle(u.Path+"/", http.StripPrefix(u.Path+"/", fileserver)) + http.Handle(u.Path, http.StripPrefix(u.Path, fileserver)) } u.Scheme = "http"