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

Twemoji's CDN disappeared, making the whole game blank #9

Open
piracope opened this issue Jan 12, 2023 · 0 comments
Open

Twemoji's CDN disappeared, making the whole game blank #9

piracope opened this issue Jan 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@piracope
Copy link
Owner

MaxCDN, twemoji's primary CDN, just straight up disappeared.

When index.html loads, it tries to load twemoji for it to be used in the scripts (like main.js), but given that the CDN itself is gone, it fails to load it, which makes "twemoji" an unknown symbol, which throws an exception.

Workaround

I've changed the CDN to the new one recommended by twemoji. That said, this CDN doesn't include the emojis with it, meaning that each time I call twemoji.parse(), I MUST incldue the URL of another CDN that stores the emojis, which could induce quite a lot of back and forth traffic, possibly.

@piracope piracope added the bug Something isn't working label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant