Skip to content

fix: remove stale DM Serif Text font preload causing 404#254

Merged
ctkm-aelf merged 1 commit intomainfrom
fix/remove-stale-font-preload
Apr 10, 2026
Merged

fix: remove stale DM Serif Text font preload causing 404#254
ctkm-aelf merged 1 commit intomainfrom
fix/remove-stale-font-preload

Conversation

@ctkm-aelf
Copy link
Copy Markdown
Collaborator

Summary

  • Remove the <link rel="preload"> for DM Serif Text woff2 in frontend/index.html which returned a 404 in the browser console
  • The project uses DM Serif Display, not DM Serif Text — the preload URL pointed to a font that was never used
  • The Google Fonts <link> CSS already handles loading the correct DM Serif Display font
  • The two <link rel="preconnect"> hints for fonts.googleapis.com and fonts.gstatic.com are kept for connection warmup

Closes #249

Test plan

  • Open the frontend in a browser and confirm no 404 errors in the Network/Console tabs for font resources
  • Verify DM Serif Display still renders correctly (headings, display text)

🤖 Generated with Claude Code

The preload pointed to "DM Serif Text" woff2 but the project uses
"DM Serif Display". The Google Fonts CSS link already handles loading
the correct font. The preconnect hints are kept for connection warmup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ctkm-aelf ctkm-aelf merged commit 7fd30f6 into main Apr 10, 2026
8 checks passed
@ctkm-aelf ctkm-aelf deleted the fix/remove-stale-font-preload branch April 10, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Web] Preloaded DM Serif Text font file returns 404

1 participant