Skip to content

Conversation

IgnoredSoul
Copy link

Updated the Simple Icons and MDI URLs to use unpkg in cases where jsDelivr is blocked by EasyList. There are likely more efficient ways to handle this, but I have very little experience with Go.

I wasn’t able to find an unpkg version for Homarr or Selfhst, may be other alternatives for them. ¯_(ツ)_/¯

Modified simple-icons & mdi to use unpgk if jsdelivr is filtered by EasyList.
*/
var activeCDN string

func detectCDN() string {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should return an error

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't return an error in my testing, but let me know if it did on your end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants