all repos — honk @ 64069c6c12b8c0d5c84cc5404544627b51377ea0

my fork of honk

add default icon.png
Ted Unangst tedu@tedunangst.com
Sat, 02 Jul 2022 18:01:49 -0400
commit

64069c6c12b8c0d5c84cc5404544627b51377ea0

parent

5c82837bd8b1c23b532110c65ba16544d5ff61cd

3 files changed, 5 insertions(+), 0 deletions(-)

jump to
M docs/changelog.txtdocs/changelog.txt

@@ -2,6 +2,8 @@ changelog

=== next ++ Add a default icon.png. + + Try to fix hoot again because Twitter did a Twitter. === 0.9.8 Tentative Tentacle
M web.goweb.go

@@ -2120,6 +2120,9 @@ func serveviewasset(w http.ResponseWriter, r *http.Request) {

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