twentyhq / favicon

100% free and open-source favicon provider
https://github.com/twentyhq/twenty
MIT License
238 stars 19 forks source link

Investigate issue with some domains #11

Closed charlesBochet closed 1 year ago

charlesBochet commented 1 year ago

1) Users have reported that they are getting issues with the following website:

The favicon seems to be in the source code, it should be found

2) When entering a non-existing domain, we are getting a 500. Investigate why, we might want to rework exception propagation and add more console logs

emilienchvt commented 1 year ago

Diagnosis

The favicon is indeed in the site, available here.

Weirdly, this favicon is not exactly squared:

Screenshot 2023-08-07 at 16 58 46

As a result, it is not used: https://github.com/twentyhq/favicon/blob/b64eca5866c35bc30630618bf8e3c531b5e2e218/src/favicon/favicon.service.ts#L168

Proposal

We could:

charlesBochet commented 1 year ago

Good point, let's merge your PR! Also:

gitstart-app[bot] commented 1 year ago

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/FAVI-11