Skip to content

docs: document NEXT_PUBLIC_BASE_URL in .env.example#4

Merged
BunsDev merged 1 commit into
mainfrom
doc-base-url-env
Jun 19, 2026
Merged

docs: document NEXT_PUBLIC_BASE_URL in .env.example#4
BunsDev merged 1 commit into
mainfrom
doc-base-url-env

Conversation

@BunsDev

@BunsDev BunsDev commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

NEXT_PUBLIC_BASE_URL is read in app/layout.tsx to build the absolute Open Graph / Twitter card image URLs, but it was missing from .env.example. Documented it (optional; defaults to https://salem.opencoven.ai).

Verification

  • npm run build (next build) → ✓ compiled successfully, TypeScript passed, all routes built (/, /api/chat, /api/health, /api/webhook)
  • npm test (node scripts/validate-opencoven-port.mjs) → validate-opencoven-port: ok
  • Commit signed/verified.

🤖 Generated with Claude Code

NEXT_PUBLIC_BASE_URL is read in app/layout.tsx to build the absolute
Open Graph / Twitter card image URLs but was previously undocumented.
Add it to .env.example (optional; defaults to https://salem.opencoven.ai).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 19, 2026 08:18
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
opencoven-chat-api Ready Ready Preview Jun 19, 2026 8:18am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Documents the NEXT_PUBLIC_BASE_URL environment variable in .env.example so deployers can explicitly configure the absolute origin used to build Open Graph / Twitter card image URLs (as read in app/layout.tsx), while retaining the existing default.

Changes:

  • Add a new “PUBLIC BASE URL (optional)” section to .env.example.
  • Document NEXT_PUBLIC_BASE_URL with purpose and default value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BunsDev BunsDev merged commit 5257b85 into main Jun 19, 2026
2 checks passed
@BunsDev BunsDev deleted the doc-base-url-env branch June 19, 2026 08:28
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