Skip to content

Conversation

aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Sep 8, 2025

Summary by CodeRabbit

  • Bug Fixes
    • Updated the app’s metadata base URL to the production domain, ensuring correct canonical URLs and consistent link generation.
    • Improved social sharing previews by aligning metadata with the production site (Open Graph/Twitter), removing any localhost references in shared content.

Copy link

coderabbitai bot commented Sep 8, 2025

Walkthrough

Updated the Next.js app metadata configuration by changing metadataBase from http://localhost:3000 to https://create-db.prisma.io/ in claim-db-worker/app/layout.tsx. No other fields or exports were modified.

Changes

Cohort / File(s) Summary of Changes
Metadata configuration
claim-db-worker/app/layout.tsx
Set metadataBase to https://create-db.prisma.io/ instead of http://localhost:3000; no changes to other metadata, openGraph, twitter, or exported/public signatures.
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch og-image

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

Copy link

github-actions bot commented Sep 8, 2025

Preview CLIs & Workers are live!

Test the CLIs locally under tag pr56-og-image-17551980438:

npx create-db@pr56
npx create-pg@pr56
npx create-postgres@$pr56

Worker URLs
• Create-DB Worker:
• Claim-DB Worker:

These will live as long as this PR exists under tag pr56-og-image-17551980438.

Copy link

cloudflare-workers-and-pages bot commented Sep 8, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
claim-db-worker 3518882 Commit Preview URL

Branch Preview URL
Sep 08 2025, 01:18 PM

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ad03c04 and 3518882.

📒 Files selected for processing (1)
  • claim-db-worker/app/layout.tsx (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Workers Builds: claim-db-worker
  • GitHub Check: Workers Builds: create-db-worker
🔇 Additional comments (2)
claim-db-worker/app/layout.tsx (2)

16-16: Good fix: production metadataBase ensures absolute OG/Twitter image URLs.

This aligns generated metadata with the live domain and should fix link preview resolvers.


24-34: Confirmed /og-image.png in public root – Located at claim-db-worker/public/og-image.png.

@ankur-arch ankur-arch merged commit 0ed39c1 into main Sep 8, 2025
4 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.

2 participants