diff --git a/enhanced-file-server.go b/enhanced-file-server.go index c086606..374b16f 100644 --- a/enhanced-file-server.go +++ b/enhanced-file-server.go @@ -129,7 +129,7 @@ func dirList(w http.ResponseWriter, r *http.Request, f File) { // part of the URL path, and not indicate the start of a query // string or fragment. url := url.URL{Path: name} - fmt.Fprintf(w, "%d%s", url.String(), htmlReplacer.Replace(name), d.Size(), d.ModTime().String()) + fmt.Fprintf(w, "%s%d%s", url.String(), htmlReplacer.Replace(name), d.Size(), d.ModTime().String()) // fmt.Fprintf(w, "%s\n", url.String(), htmlReplacer.Replace(name)) }