fix(seo): serve apple-touch-icon.png from public/ (LAC-2795)#36
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The head links /apple-touch-icon.png (src/config/metadata.ts), but the file lived in src/app/ under a name Next.js App Router does not auto-serve (convention is apple-icon.png), so https://bones.sh/apple-touch-icon.png returned 404. Move the existing 180x180 PNG to public/ so it is served at the referenced path. Co-Authored-By: Paperclip <noreply@paperclip.ing>
lacymorrow
force-pushed
the
lac-2795/fix-apple-touch-icon-404
branch
from
July 14, 2026 22:02
93882b2 to
9952cc6
Compare
PR Code Suggestions ✨No code suggestions found for the PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes LAC-2795:
https://bones.sh/apple-touch-icon.pngreturned 404 even though the site head references it.Root cause: the 180x180 PNG existed at
src/app/apple-touch-icon.png, but Next.js App Router only auto-serves the convention filenameapple-icon.png—apple-touch-icon.pnginsrc/app/is never served. Meanwhilesrc/config/metadata.tsexplicitly links/apple-touch-icon.png.Fix:
git mv src/app/apple-touch-icon.png public/apple-touch-icon.pngso the file is served at the exact path the metadata references. No code changes; binary is byte-identical (rename, 100% similarity).Acceptance criteria
curl -sI https://bones.sh/apple-touch-icon.pngreturns 200 after deploy.Testing notes
magick identify.src/app/; the only reference is the/apple-touch-icon.pngURL insrc/config/metadata.ts.curl -sIwill be done before closing the issue.Found during the LAC-2783 orphan-page crawl. Engineer-only task (implement → merge → deploy → verify).