devicon icon indicating copy to clipboard operation
devicon copied to clipboard

[BUG]: CDN Image not found

Open lucke-01 opened this issue 1 year ago • 1 comments

I have searched through the issues and didn't find my problem.

  • [X] Confirm

Bug description

Some images get a 404 error. when you access to the URL of the image the following message is shown: Package size exceeded the configured limit of 50 MB. Try https://github.com/devicons/devicon/tree/v2.16.0/icons/spring/spring-plain-wordmark.svg instead.

Possible fixes or solutions

The availability of all images should be ensured

Additional information

The error happens in these images: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/spring/spring-plain-wordmark.svg https://cdn.jsdelivr.net/gh/devicons/devicon/icons/spring/spring-plain.svg https://cdn.jsdelivr.net/gh/devicons/devicon/icons/jasmine/jasmine-plain.svg

lucke-01 avatar Jan 04 '25 18:01 lucke-01

The solution:

I had to change the url from

https://cdn.jsdelivr.net/gh/devicons/devicon/icons/spring/spring-plain.svg

To

https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/spring/spring-original.svg

And I had to do the same with others.

I would suggest either do not advice the users to use the cdn since it is not stable or keep cdn stable.

lucke-01 avatar Jan 17 '25 12:01 lucke-01