-
Notifications
You must be signed in to change notification settings - Fork 15
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
Loading multiple fonts at once with display swap not working #17
Comments
I see all the fonts with the swap option. What is missing or incorrect? |
Not sure if it's a cache thing on my end. The first link is returning all fonts correctly but the second link is only returning "Space Grotesk". I had some issues when adding the display=swap parameter with other links as well. |
Thanks for looking into it! Now it works correctly. Is there a way to add cache busting to the request url? |
Ran into the same issue. In my case when using I swapped the order thinking it would show me Stick using However, if I made the font "Stick" lowercase, it works. So Not sure if this helps, but wanted to add this in case it helps narrow down the issue. |
This works:
https://api.fonts.coollabs.io/css2?family=Space+Grotesk&family=Space+Mono&family=Aguafina+Script&family=Audiowide
This doesn't (only returning some fonts):
https://api.fonts.coollabs.io/css2?family=Space+Grotesk&family=Space+Mono&family=Aguafina+Script&family=Audiowide&display=swap
The text was updated successfully, but these errors were encountered: