mirror of
https://github.com/makew0rld/amfora.git
synced 2024-09-27 23:05:55 -04:00
🐛 Support text/* for favicon
This commit is contained in:
parent
0bc5939600
commit
789e7e23a6
@ -205,7 +205,7 @@ func handleFavicon(t *tab, host, old string) {
|
|||||||
cache.AddFavicon(host, cache.KnownNoFavicon)
|
cache.AddFavicon(host, cache.KnownNoFavicon)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !strings.HasPrefix(res.Meta, "text/plain") {
|
if !strings.HasPrefix(res.Meta, "text/") {
|
||||||
cache.AddFavicon(host, cache.KnownNoFavicon)
|
cache.AddFavicon(host, cache.KnownNoFavicon)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user