remove superflous call

This commit is contained in:
Nazar Kanaev 2020-08-21 13:05:28 +01:00
parent f9d802ec92
commit 110a0b173a

View File

@ -126,7 +126,6 @@ func StaticHandler(rw http.ResponseWriter, req *http.Request) {
f, err := os.Open("assets/" + path) f, err := os.Open("assets/" + path)
if err != nil { if err != nil {
rw.WriteHeader(http.StatusNotFound)
return return
} }
defer f.Close() defer f.Close()