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

Font is showing in production but not in local #868

Open
juskek opened this issue Mar 8, 2024 · 1 comment
Open

Font is showing in production but not in local #868

juskek opened this issue Mar 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@juskek
Copy link

juskek commented Mar 8, 2024

Describe the bug

Fonts are showing in production but not in local.
I pushed my last article over 2 weeks ago, and the fonts were working fine in local and production.
I came back today and the fonts are not loading anymore in local :')

I've narrowed it down to a missing css variable, see screenshots

Screenshots
In local,

image

In production,

image

What I've tried

  1. Restart server
  2. Empty cache and hard reload
@juskek juskek added the bug Something isn't working label Mar 8, 2024
@juskek
Copy link
Author

juskek commented Mar 8, 2024

Strangely... I did the following:

  1. vercel dev -> saw fonts being applied in local
  2. Stopped local server
  3. yarn dev
  4. Empty cache and hard reload
  5. fonts are now being applied in local... ??

Might be a Next / Vercel font optimisation issue.

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