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 is not able to load data so the entire website is slowed down #651

Open
khalifarsm opened this issue Sep 18, 2024 · 1 comment
Open

Comments

@khalifarsm
Copy link

image
this is really slowing down the website

@Crissov
Copy link
Contributor

Crissov commented Sep 18, 2024

from #580:

all you need to do is to pass a different base that points to another end point with all assets in place

twemoji.parse(
  document.body,
  { base: 'https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/' }
)

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