fix superflous response

This commit is contained in:
Zack Scholl 2019-07-12 12:11:07 +00:00
parent 7094dd38a4
commit 79bf4213e4

View file

@ -79,7 +79,7 @@ Disallow:`))
var b []byte
b, err = Asset(r.URL.Path[1:])
if err != nil {
http.Error(w, "file not found", 404)
err = fmt.Errorf("resource '%s' not found",r.URL.Path[1:])
return
}
var contentType string