Browse Source

fmt

pull/302/head
chrislusf 9 years ago
parent
commit
3fb98a904b
  1. 4
      go/weed/weed_server/volume_server_handlers_read.go

4
go/weed/weed_server/volume_server_handlers_read.go

@ -143,8 +143,8 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
func (vs *VolumeServer) FaviconHandler(w http.ResponseWriter, r *http.Request) {
data, err := images.Asset("favicon/favicon.ico")
if err != nil {
glog.V(2).Infoln("favicon read error:", err)
return
glog.V(2).Infoln("favicon read error:", err)
return
}
if e := writeResponseContent("favicon.ico", "image/x-icon", bytes.NewReader(data), w, r); e != nil {

Loading…
Cancel
Save