Skip to content

Skip Open Graph tags on error pages - #15

Merged
honbin merged 1 commit into
mainfrom
skip-og-on-error-pages
Oct 29, 2026
Merged

honbin merged 1 commit into
mainfrom
skip-og-on-error-pages

Conversation

@honbin

@honbin honbin commented Oct 29, 2026

Copy link
Copy Markdown
Member

Missing paths returned 500 in dev instead of 404: the middleware tagged Void's 404 page too, and addOgTags throws because that page's title has no site suffix. Error pages are not shared, so only successful responses get the tags.

Missing paths returned 500 in dev instead of 404: the middleware tagged
Void's 404 page too, and addOgTags throws because that page's title has
no site suffix. Error pages are not shared, so only successful responses
get the tags.
@honbin
honbin merged commit 3f54d85 into main Oct 29, 2026
1 check passed
@honbin
honbin deleted the skip-og-on-error-pages branch October 29, 2026 13:57
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.

1 participant