[PR #9492] fix(web): rename favicons to v2 for cache busting #13125

Closed
opened 2026-02-16 18:18:00 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9492

State: closed
Merged: Yes


Summary

Google search results are showing outdated/missing favicons. This renames all favicon files to include a -v2 suffix to force Google's cache to refresh.

Changes

  • New versioned favicon files: favicon-v2.svg, favicon-v2.ico, favicon-96x96-v2.png, apple-touch-icon-v2.png
  • Updated Starlight config (packages/web/astro.config.mjs): Added explicit favicon property and head tags for all icon variants
  • Updated Mintlify docs (packages/docs/docs.json): Changed favicon reference to v2
  • Updated HTML files: packages/app/index.html, packages/desktop/index.html
  • Updated code references: Notification icons and hardcoded URLs now point to v2 versions
  • Preserved original files for backward compatibility

Files Modified

Package Files
ui New favicon source files + favicon.tsx
web astro.config.mjs + new symlinks in public/
app index.html, entry.tsx, layout.tsx + new symlinks
desktop index.html, index.tsx
console auth.ts (OpenAuth theme logo)
docs docs.json + favicon-v2.svg

Testing

After deploy, verify:

  1. https://opencode.ai/ shows favicon
  2. https://opencode.ai/docs shows favicon
  3. Use Google Search Console to request re-indexing of the homepage
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9492 **State:** closed **Merged:** Yes --- ## Summary Google search results are showing outdated/missing favicons. This renames all favicon files to include a `-v2` suffix to force Google's cache to refresh. ## Changes - **New versioned favicon files**: `favicon-v2.svg`, `favicon-v2.ico`, `favicon-96x96-v2.png`, `apple-touch-icon-v2.png` - **Updated Starlight config** (`packages/web/astro.config.mjs`): Added explicit `favicon` property and `head` tags for all icon variants - **Updated Mintlify docs** (`packages/docs/docs.json`): Changed favicon reference to v2 - **Updated HTML files**: `packages/app/index.html`, `packages/desktop/index.html` - **Updated code references**: Notification icons and hardcoded URLs now point to v2 versions - **Preserved original files** for backward compatibility ## Files Modified | Package | Files | |---------|-------| | `ui` | New favicon source files + `favicon.tsx` | | `web` | `astro.config.mjs` + new symlinks in `public/` | | `app` | `index.html`, `entry.tsx`, `layout.tsx` + new symlinks | | `desktop` | `index.html`, `index.tsx` | | `console` | `auth.ts` (OpenAuth theme logo) | | `docs` | `docs.json` + `favicon-v2.svg` | ## Testing After deploy, verify: 1. https://opencode.ai/ shows favicon 2. https://opencode.ai/docs shows favicon 3. Use Google Search Console to request re-indexing of the homepage
yindo added the pull-request label 2026-02-16 18:18:00 -05:00
yindo closed this issue 2026-02-16 18:18:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13125