-
Notifications
You must be signed in to change notification settings - Fork 200
fix(migrations): redirect 404 on self-hosted instances #2677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Console (appwrite/console)Project ID: Sites (1)
Tip GraphQL API works alongside REST and WebSocket protocols |
WalkthroughThe change modifies the migration wizard component to introduce a new local variable Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (5)**/*.{ts,tsx,js,jsx,svelte}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/routes/**/*.svelte📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx,svelte,json}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.svelte📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/routes/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Problem
After migrating a project from Cloud to a self-hosted instance, users were redirected to a non-existent URL (
/console/project-{projectId}/settings/migrations) causing a 404 error.Root Cause
regionparameter was missing from the redirect URL on self-hosted instances (whereregionis undefined).Solution
newlyCreatedProject.targetProject.region ?? 'default'to matches the self-hosted URL pattern.Related Issue
Closes #2183
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.