Skip to content

docs: fix og:image URL (metadataBase -> graph-sitter.dev)#172

Open
jayhack wants to merge 1 commit into
developfrom
docs/fix-metadata-base
Open

docs: fix og:image URL (metadataBase -> graph-sitter.dev)#172
jayhack wants to merge 1 commit into
developfrom
docs/fix-metadata-base

Conversation

@jayhack

@jayhack jayhack commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The OG image (#163) is merged and deployed — https://graph-sitter.dev/opengraph-image renders fine. The reason it wasn't "popping up" in social previews is that metadataBase was set to https://graph-sitter.com, which is not a live domain (the project serves graph-sitter.dev / graph-sitter.vercel.app). So Next emitted og:image/twitter:image as absolute URLs at https://graph-sitter.com/opengraph-image, which scrapers can't fetch.

This points metadataBase and the OpenGraph url at the production domain graph-sitter.dev.

Before: og:image content="https://graph-sitter.com/opengraph-image?…"
After: og:image content="https://graph-sitter.dev/opengraph-image?…"

Test plan

  • npm run build in site/ passes; built home HTML now emits og:image/twitter:image at https://graph-sitter.dev/opengraph-image.
  • After deploy, re-scrape with a social/OG debugger (the previews are cached, so they need a refresh).

Made with Cursor

The OG image route ships fine, but metadataBase was https://graph-sitter.com
(which isn't a live domain), so og:image/twitter:image resolved to a dead
URL and social scrapers couldn't fetch the card. Point metadataBase and the
OpenGraph url at the production domain graph-sitter.dev so the absolute image
URLs work.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jayhack jayhack requested a review from a team as a code owner June 24, 2026 20:04
@jayhack jayhack requested review from kopekC and removed request for a team June 24, 2026 20:04
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graph-sitter Ready Ready Preview, Comment Jun 24, 2026 8:05pm

Request Review

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