Skip to content

fix: update Open Graph image URLs to use relative paths#142

Merged
chef0111 merged 1 commit intomainfrom
feat/seo
Feb 2, 2026
Merged

fix: update Open Graph image URLs to use relative paths#142
chef0111 merged 1 commit intomainfrom
feat/seo

Conversation

@chef0111
Copy link
Copy Markdown
Owner

@chef0111 chef0111 commented Feb 2, 2026

Summary by CodeRabbit

  • Bug Fixes
    • Corrected social media preview metadata configuration to ensure Open Graph and Twitter card URLs resolve properly across all environments and deployment scenarios. Updated how preview images and links are referenced to guarantee accurate display when content is shared on social platforms.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 2, 2026

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

Project Deployment Actions Updated (UTC)
dev4room Ready Ready Preview, Comment Feb 2, 2026 2:42pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 2, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request updates metadata URL references in the application layout file. Open Graph and Twitter metadata URLs are changed from dynamic base URL concatenation to root-relative paths, affecting how social preview and metadata URLs resolve.

Changes

Cohort / File(s) Summary
Metadata Configuration
src/app/layout.tsx
Updated Open Graph and Twitter metadata to use root-relative paths (/, /images/og-image.png) instead of dynamic base URL concatenation for URL and image fields.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 A rabbit hops through metadata fields,
Trading URLs for paths that yield,
No more base strings in the mix,
Just simple slashes—a cleaner fix!

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/seo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Owner Author

@chef0111 chef0111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

@chef0111 chef0111 merged commit 14f2fea into main Feb 2, 2026
4 of 6 checks passed
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