This commit is contained in:
chrislusf 2016-04-15 11:04:39 -07:00
parent 74b045e9b6
commit 3fb98a904b

View file

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