mirror of
https://github.com/schollz/hostyoself.git
synced 2026-01-23 02:15:14 +00:00
fix superflous response
This commit is contained in:
parent
7094dd38a4
commit
79bf4213e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue