Open LukaszKokot opened 3 years ago
I want to work on this issue.
Alright @suprabhat25, here you go, good luck :slightly_smiling_face:
Currently, the getFavicon method does not allow changing the favicon provider, which is google.com by default. This could be changed by adding a second "options" parameter, so that we could call for example:
getFavicon('https://applecom'); // Uses the default google.com/s2/favicons provider getFavicon('https://applecom', { provider: FAVICON_KIT })
Currently, the
getFavicon
method does not allow changing the favicon provider, which is google.com by default. This could be changed by adding a second "options" parameter, so that we could call for example:Where
FAVICON_KIT
would be an enumeration value, along with GOOGLE.