Skip to content

Conversation

@BennyKok
Copy link
Contributor

Dynamically determine Clerk redirect URLs to support staging and production environments.

The previous fix for COM-1575 hardcoded redirect URLs for the production environment, leading to incorrect redirects in staging. This PR introduces dynamic hostname detection to ensure users are correctly redirected to /workflows on app.comfydeploy.com, staging.app.comfydeploy.com, or locally, without requiring environment variable overrides for standard deployments.


Linear Issue: COM-1575

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Aug 23, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Aug 23, 2025

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

Project Deployment Preview Comments Updated (UTC)
app Ready Ready Preview Comment Aug 23, 2025 2:33am

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