1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-09-28 14:50:59 +00:00

clarify and replace the url pointing to maxcdn in the readme (#585)

This commit is contained in:
stefafafan 2023-01-10 19:19:32 +09:00 committed by GitHub
parent abb5a1add2
commit d94f4cf793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,12 +10,14 @@ The Twemoji library offers support for all Unicode-defined emoji which are recom
### CDN Support ### CDN Support
The folks over at [MaxCDN](https://www.maxcdn.com) have graciously provided CDN support. <del>The folks over at [MaxCDN](https://www.maxcdn.com) have graciously provided CDN support.</del>
MaxCDN is shut down right now, so in the meanwhile use a different CDN or download the assets. (See [Maxcdn has shut down, cdn not working anymore. · Issue #580 · twitter/twemoji](https://github.com/twitter/twemoji/issues/580)).
Use the following in the `<head>` tag of your HTML document(s): Use the following in the `<head>` tag of your HTML document(s):
```html ```html
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script> <script src="https://unpkg.com/twemoji@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
``` ```
This guarantees that you will always use the latest version of the library. This guarantees that you will always use the latest version of the library.