Trying out a dist offline on a raspberry pi for an offline project and I get these errors below, any way to make the google fonts cached offline? Also an error about Needle analytics
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
then
GET https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap net::ERR_NAME_NOT_RESOLVED
then
GET https://needle-engine-analytics-v2-r26roub2hq-lz.a.run.app/api/v2/new/request?license=pro&url=http%3A%2F%2Flocalhost%3A5500%2Findex.html&hostname=localhost&pathname=%2Findex.html&search=&hash=&version=3.28.3-beta&generator=Unity%202023.1.19f1,%20Needle%20Engine%20Integration%20@3.28.3-pre net::ERR_NAME_NOT_RESOLVED
Add it might be from our font, thatβs right - not an issue tho for runtime usage, just a cosmetic error Iβd say and we can catch the error(s) better
Cool, in my style.css I went to here to download font family, extracted the font I needed and added to Include folder under a new subfolder called fonts. https://fonts.google.com/specimen/Roboto
Then in the css I changed @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
to @font-face { font-family: "Roboto"; src: url("./include/fonts/Roboto-Regular.ttf"); }
That got rid of font errors, now the last error is the same as before for https://needle-engine-analytics-v2-r26roub2hq-lz.a.run.app/api/v2/new/request?license=pro&url=http%3A%2F%2Flocalhost%3A5500%2Findex.html&hostname=localhost&pathname=%2Findex.html&search=&hash=&version=3.28.3-beta&generator=Unity%202023.1.19f1,%20Needle%20Engine%20Integration%20@3.28.3-pre