Closed sroertgen closed 1 year ago
Fonts were not loading correctly, i.e. the wanted Ubuntu fonts were not loaded in production.
I noticed this working on #185 thinking about how fonts can be configurable.
I solved it moving the fonts to static folder and using withPrefix from gatsby to correctly resolve using the BASEURL.
withPrefix
BASEURL
Interestingly, this seems to work in development mode.
Yes that is also the reason why I did not notice...
Fonts were not loading correctly, i.e. the wanted Ubuntu fonts were not loaded in production.
I noticed this working on #185 thinking about how fonts can be configurable.
I solved it moving the fonts to static folder and using
withPrefix
from gatsby to correctly resolve using theBASEURL
.