mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-11-26 10:15:13 +03: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