1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

🐛 Support text/* for favicon

This commit is contained in:
makeworld 2020-08-05 17:55:43 -04:00
parent 0bc5939600
commit 789e7e23a6

View File

@ -205,7 +205,7 @@ func handleFavicon(t *tab, host, old string) {
cache.AddFavicon(host, cache.KnownNoFavicon)
return
}
if !strings.HasPrefix(res.Meta, "text/plain") {
if !strings.HasPrefix(res.Meta, "text/") {
cache.AddFavicon(host, cache.KnownNoFavicon)
return
}