remove superflous call
This commit is contained in:
parent
f9d802ec92
commit
110a0b173a
1 changed files with 0 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue