Skip to content

Commit

Permalink
fix: Use Github raw url for MDI (#132)
Browse files Browse the repository at this point in the history
Using unpkg for MDI glyphs has been unreliable, with timeout even with
generous thresholds and retries. Switch back to using Github raw URL.

(Hopefully) fixes #116.
  • Loading branch information
magicDGS authored Nov 20, 2024
1 parent 140ca43 commit 7fd7965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap_drawer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class KeySidePars(BaseModel):
exclude=True,
default={
"tabler": "https://unpkg.com/@tabler/icons/icons/outline/{}.svg",
"mdi": "https://unpkg.com/@mdi/svg/svg/{}.svg",
"mdi": "https://raw.githubusercontent.com/Templarian/MaterialDesign-SVG/master/svg/{}.svg",
"mdil": "https://raw.githubusercontent.com/Pictogrammers/MaterialDesignLight/master/svg/{}.svg",
"material": "https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/{}/default/48px.svg",
"phosphor": "https://unpkg.com/@phosphor-icons/core/assets/{}.svg",
Expand Down

0 comments on commit 7fd7965

Please sign in to comment.