diff --git a/docs/configuration.md b/docs/configuration.md index f133ce2..c84b3ef 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1169,7 +1169,7 @@ icon: si:adguard > [!WARNING] > -> Simple Icons are loaded externally and are hosted on `cdnjs.cloudflare.com`, if you do not wish to depend on a 3rd party you are free to download the icons individually and host them locally. +> Simple Icons are loaded externally and are hosted on `cdn.jsdelivr.net`, if you do not wish to depend on a 3rd party you are free to download the icons individually and host them locally. `allow-insecure` @@ -1447,7 +1447,7 @@ icon: si:reddit > [!WARNING] > -> Simple Icons are loaded externally and are hosted on `cdnjs.cloudflare.com`, if you do not wish to depend on a 3rd party you are free to download the icons individually and host them locally. +> Simple Icons are loaded externally and are hosted on `cdn.jsdelivr.net`, if you do not wish to depend on a 3rd party you are free to download the icons individually and host them locally. `same-tab` diff --git a/internal/widget/fields.go b/internal/widget/fields.go index 91e7671..66fa199 100644 --- a/internal/widget/fields.go +++ b/internal/widget/fields.go @@ -183,7 +183,7 @@ func toSimpleIconIfPrefixed(icon string) (string, bool) { } icon = strings.TrimPrefix(icon, "si:") - icon = "https://cdnjs.cloudflare.com/ajax/libs/simple-icons/11.14.0/" + icon + ".svg" + icon = "https://cdn.jsdelivr.net/npm/simple-icons@latest/" + icon + ".svg" return icon, true }