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:
parent
0bc5939600
commit
789e7e23a6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user