close file
This commit is contained in:
parent
341b03b8f0
commit
c02a97aa68
1 changed files with 1 additions and 0 deletions
1
web.go
1
web.go
|
@ -1565,6 +1565,7 @@ func servecss(w http.ResponseWriter, r *http.Request) {
|
|||
http.NotFound(w, r)
|
||||
return
|
||||
}
|
||||
defer fd.Close()
|
||||
w.Header().Set("Cache-Control", "max-age=0")
|
||||
w.Header().Set("Content-Type", "text/css; charset=utf-8")
|
||||
err = css.Filter(fd, w)
|
||||
|
|
Loading…
Reference in a new issue