Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CDN doesn't seem to work #613

Open
nemorosus opened this issue May 14, 2023 · 2 comments
Open

New CDN doesn't seem to work #613

nemorosus opened this issue May 14, 2023 · 2 comments

Comments

@nemorosus
Copy link

I can't get Twemoji to work, it appears that MaxCDN doesn't host the files anymore?

For example this script:
https://unpkg.com/twemoji@14.0.2/dist/twemoji.min.js

leads to this URL:
https://twemoji.maxcdn.com/v/14.0.2/

However I didn't find anything there, under any version. All dead links.
:(

Any solution, or I'm doing something wrong?

Thanks!

@huntercaron
Copy link

I believe maxcdn closed down a while back, we've switched to using https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/ as our base URL for everything and it works now

@nemorosus
Copy link
Author

nemorosus commented Jul 24, 2023

Thanks for the reply, however I still can't seem to get it working.

For example when I'm trying to open/access this URL I get a 404:
https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/twemoji.min.js

It seems older versions are working, for example 12.0.4, however that leaves me with another issue, for example this URL:
https://cdnjs.cloudflare.com/ajax/libs/twemoji/12.0.4/twemoji.min.js

The CDN referred within the JS file is still maxcdn.com, for a newbie like me, could I ask how you made it work? I am looking hardly to get the flag emojis working on my websites, if I can't make it work, I'll just self-host it at the end, but you got my curiosity if there's any chance of figuring this out.

Thanks!

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

No branches or pull requests

2 participants