Skip to content

examples: fix Payload video media URL env#95420

Open
msh01 wants to merge 1 commit into
vercel:canaryfrom
msh01:codex/fix-payload-video-url-env
Open

examples: fix Payload video media URL env#95420
msh01 wants to merge 1 commit into
vercel:canaryfrom
msh01:codex/fix-payload-video-url-env

Conversation

@msh01

@msh01 msh01 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

Update the cms-payload video media component to use NEXT_PUBLIC_APP_URL, matching the existing .env.example. The previous NEXT_PUBLIC_API_URL variable was not documented or provided by the example, so video media URLs could be built with an undefined base URL.

Verification

  • rg -n "NEXT_PUBLIC_API_URL|NEXT_PUBLIC_APP_URL" examples/cms-payload/components/Media/Video/index.tsx examples/cms-payload/.env.example examples/cms-payload/README.md
  • git diff --check
  • Not run: full example runtime (cms-payload requires MongoDB and optional S3 setup)

@msh01 msh01 marked this pull request as ready for review July 3, 2026 03:34
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