Closed misbahansori closed 2 years ago
Hey! I'm sorry that you're having issues with the package.
I can't seem to reproduce this locally. The https://headlessui.com
appears to be stored as an .ico
file for me; https://vuejs.org
is being stored as an .svg
; and https://remote.io
as a .png
.
I'll see if I can do a bit more digging and spot anything. Which driver are you using that's causing the issue? Does you get the same problem when using any other driver? And have you also tried clearing your cache to see if that improves anything? 🙂
I've checked that using the 'http' driver work like in your comment. But, using "google-shared-stuff", "favicon-kit" and "unavatar" gives the wrong extension. I suspect that the issue is in the image below :
It's trying to get the extension from the URL
Ahh yeah, thanks for pointing that out! I'll try and put a fix together for that now 🙂
I've tagged and released v1.1.2 (https://github.com/ash-jc-allen/favicon-fetcher/releases/tag/v1.1.2) that should hopefully fix this issue. Please let me know if the issue stills exists though 😄
The issue has been fixed. Thank you very much.
Hi thanks for this nice package, but I think there is a problem. When storing the favicon in the storage I got this result :
The file extension follows the URL domain. that's should not be the case, it should be .png or other image formats.