add default icon.png

Ted Unangst 2 years ago
parent faed3f9ad0
commit 51d5fb5daa

@ -2,6 +2,8 @@ changelog
=== next === next
+ Add a default icon.png.
+ Try to fix hoot again because Twitter did a Twitter. + Try to fix hoot again because Twitter did a Twitter.
=== 0.9.8 Tentative Tentacle === 0.9.8 Tentative Tentacle

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

@ -2120,6 +2120,9 @@ func serveviewasset(w http.ResponseWriter, r *http.Request) {
serveasset(w, r, viewDir) serveasset(w, r, viewDir)
} }
func servedataasset(w http.ResponseWriter, r *http.Request) { func servedataasset(w http.ResponseWriter, r *http.Request) {
if r.URL.Path == "/favicon.ico" {
r.URL.Path = "/icon.png"
}
serveasset(w, r, dataDir) serveasset(w, r, dataDir)
} }

Loading…
Cancel
Save