Consider forcing HTTPS (or adding an option) for Google Fonts
Author: philipwaltonCreated Aug 23, 2016Updated Jan 1, 2025
I've noticed that when I test on localhost I get http:// versions of Google Fonts. As far as I can tell, it's due to this default configuration: https://github.com/typekit/webfontloader/blob/da5faa9f5262188e33000b33b0b9dfc271b5e97c/src/modules/google/fontapiurlbuilder.js#L18
I'd be great if this could just be hard coded to HTTPS rather than protocol-relative. At minimum, It'd be nice to have the option to always use HTTPS regardless.
Source: typekit/webfontloader