Skip to content

Conversation

@hjball
Copy link
Contributor

@hjball hjball commented Jun 4, 2025

Summary

Self-hosted instances should be able to freely change their workspace slug without be prompted to checkout. These changes allow this by checking the NEXT_PUBLIC_KAN_ENV !== 'cloud'.

Test plan

  • Set NEXT_PUBLIC_KAN_ENV to cloud and check checkout is prompted
  • Remove NEXT_PUBLIC_KAN_ENV and check workspace slug can be freely changed

Resolves #15

@vercel
Copy link

vercel bot commented Jun 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kan ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2025 6:35am

@hjball hjball merged commit 3625d70 into main Jun 4, 2025
3 of 4 checks passed
Paurakh4 pushed a commit to Paurakh4/vp-v2 that referenced this pull request Jul 13, 2025
* fix: bypass custom URL checkout for self hosted

* Update error code
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.

Self-hosted instances should bypass the checkout for custom URLs

2 participants