Skip to content

examples: fix Webiny API env variable name - #95413

Closed
tianma-if wants to merge 2 commits into
vercel:canaryfrom
tianma-if:codex/fix-webiny-api-env
Closed

examples: fix Webiny API env variable name#95413
tianma-if wants to merge 2 commits into
vercel:canaryfrom
tianma-if:codex/fix-webiny-api-env

Conversation

@tianma-if

Copy link
Copy Markdown

Summary

Fix the cms-webiny example so non-preview requests read NEXT_PUBLIC_WEBINY_API_URL, matching the README, deploy button, and .env.local.example. The previous NEXT_PUBLIC_WEBINY_API_UR typo caused the default API endpoint to resolve to undefined.

Verification

  • rg -n "NEXT_PUBLIC_WEBINY_API_UR|NEXT_PUBLIC_WEBINY_API_URL|NEXT_PUBLIC_WEBINY_PREVIEW_API_URL" examples/cms-webiny
  • git diff --check
  • Not run: full example runtime (cms-webiny requires external Webiny API credentials)

@tianma-if
tianma-if marked this pull request as ready for review July 3, 2026 03:34
@github-actions

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: f260809

@github-actions

Copy link
Copy Markdown
Contributor

Stats skipped

Commit: f260809
View workflow run

@marcoshernanz

Copy link
Copy Markdown
Contributor

Closing in favor of #97134, which carries the same change in a signed commit while preserving @tianma-if’s original authorship and attribution. Thank you for the contribution!

lukesandberg pushed a commit that referenced this pull request Aug 10, 2026
## Summary

Fix the `cms-webiny` example so non-preview requests read
`NEXT_PUBLIC_WEBINY_API_URL`, matching the README, deploy button, and
`.env.local.example`. The previous `NEXT_PUBLIC_WEBINY_API_UR` typo
caused the default API endpoint to resolve to `undefined`.

## Verification

- `rg -n
"NEXT_PUBLIC_WEBINY_API_UR|NEXT_PUBLIC_WEBINY_API_URL|NEXT_PUBLIC_WEBINY_PREVIEW_API_URL"
examples/cms-webiny`
- `git diff --check`
- Not run: full example runtime (`cms-webiny` requires external Webiny
API credentials)

Attribution: This change was originally authored by @tianma-if in
#95413.

<!-- NEXT_JS_LLM_PR -->

Co-authored-by: tianma <tianma@tianmadeMac-mini.local>
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.

3 participants