Skip to content

Fix Render deploy: slug validation, FRONTEND_URL, troubleshooting#4

Merged
jeanpaulsio merged 1 commit intomainfrom
fix/render-deploy-improvements
Mar 18, 2026
Merged

Fix Render deploy: slug validation, FRONTEND_URL, troubleshooting#4
jeanpaulsio merged 1 commit intomainfrom
fix/render-deploy-improvements

Conversation

@jeanpaulsio
Copy link
Copy Markdown
Owner

Summary

Fixes issues discovered during first Render deploy:

  • Slug validation: setup.sh now rejects underscores/uppercase in the app slug (e.g. starter_app fails, suggests starter-app). Render service URLs require hyphens — using underscores produces broken URLs like starter_app-api.onrender.com.
  • FRONTEND_URL in render.yaml: Email verification and password reset links pointed to localhost:3000 because FRONTEND_URL wasn't set. Now auto-configured in the blueprint.
  • Deploy troubleshooting section: Documents the three most common deploy issues (CORS, email links, loading state).

Test plan

  • ./setup.sh starter_app "Test" should fail with helpful error
  • ./setup.sh starter-app "Test" should succeed
  • render.yaml includes FRONTEND_URL pointing to the web service
  • README troubleshooting section covers CORS, email links, and loading issues

🤖 Generated with Claude Code

…y troubleshooting

- setup.sh now rejects slugs with underscores or uppercase (Render URLs
  require hyphens, e.g. starter-app not starter_app)
- Add FRONTEND_URL to render.yaml so email links work without manual config
- Remove FRONTEND_URL from "manual env vars" list (now auto-configured)
- Add deploy troubleshooting section for common CORS/URL issues

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jeanpaulsio jeanpaulsio merged commit bf1c012 into main Mar 18, 2026
@jeanpaulsio jeanpaulsio deleted the fix/render-deploy-improvements branch March 18, 2026 22:36
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