diff --git a/internal/tmpbbs/servefspaths.go b/internal/tmpbbs/servefspaths.go index bb91386..9d738d3 100644 --- a/internal/tmpbbs/servefspaths.go +++ b/internal/tmpbbs/servefspaths.go @@ -15,7 +15,7 @@ func ServeFSPaths(paths []string, serveMux *http.ServeMux) error { urlPrefix, dir := parts[0], parts[1] _, err := os.Stat(dir) - if os.IsNotExist(err) { + if err != nil { return err }