Skip to content

Commit

Permalink
add bootcdn to twemoji_cdn_cadidates
Browse files Browse the repository at this point in the history
  • Loading branch information
wenh06 committed Nov 22, 2023
1 parent e9a9e35 commit db2896a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_emoji_favicon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def _get_twemoji_config(twemoji_assets_type: str = "72x72", twemoji_cdn: Optiona
f"https://cdnjs.cloudflare.com/ajax/libs/twemoji/{twemoji_version}/{twemoji_assets_type}/", # cdnjs
f"https://cdn.jsdelivr.net/gh/twitter/twemoji@{twemoji_version}/assets/{twemoji_assets_type}/", # jsdelivr
f"https://cdn.staticfile.org/twemoji/{twemoji_version}/{twemoji_assets_type}/", # 七牛云
f"https://cdn.bootcdn.net/ajax/libs/twemoji/{twemoji_version}/{twemoji_assets_type}/", # bootcdn
]
if twemoji_cdn is not None:
twemoji_cdn_cadidates.insert(0, twemoji_cdn)
Expand Down

0 comments on commit db2896a

Please sign in to comment.