Broken Google Fonts + `selfHosted` on localhost
Author: cachiusaCreated Sep 6, 2026Updated Sep 13, 2026
Labelsbug
Describe the bug Self hosted fonts are requested with https, even when localhost doesn't support that.
To Reproduce Steps to reproduce the behavior:
- Edit config
configuration:
baseUrl: "example.com"
plugins:
- source: "@quartz-community/quartz-fonts"
enabled: true
options:
fontOrigin: selfHosted
body: Inter
header: Playfair Display
code: JetBrains Mono- Run
npx quartz build --serve - Open
http://localhost:8080in browser - Fonts won't load with CORS error
Expected behavior Fonts are fetched with no errors
Screenshots and Source
Desktop (please complete the following information):
- Quartz Version: f1fba3f
nodeVersion: v22.23.2npmversion: 10.9.8- OS: Linux
- Browser: Firefox
Additional context
Source: jackyzha0/quartz