You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume most if not a lot of people using umami are doing so to avoid Google because of privacy concerns. that's why I suggest adding a Environment variable like: LOCAL_FONTS for example, that will load local hosted fonts instead of from Google servers.
Or removing google fonts entirely and host the fonts locally by default.
I am willing to create a pull request if this is something you accept.
Big supporter of this! Google Fonts has relatively aggressive caching headers, caching for about a year, so the privacy implications are mild, but I'd still favour including them.
I assume most if not a lot of people using umami are doing so to avoid Google because of privacy concerns. that's why I suggest adding a Environment variable like: LOCAL_FONTS for example, that will load local hosted fonts instead of from Google servers.
Or removing google fonts entirely and host the fonts locally by default.
I am willing to create a pull request if this is something you accept.
(This tool can help: https://google-webfonts-helper.herokuapp.com/fonts)
Code reference:
https://github.com/mikecao/umami/blob/0b8336f10354e3c11c0146ef74155cd35fd9085e/components/layout/Layout.js#L13
https://github.com/mikecao/umami/blob/c881751e4f3c77fc9246758519a88142cb3e58c5/components/settings/LanguageButton.js#L20-L29
The text was updated successfully, but these errors were encountered: