mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Update redirect to studio route and remove page
This commit is contained in:
1 parent
5898ccaab7
commit
7568b0d4e8
2 files changed
+4
-8
No files matched your search
@@ -11,14 +11,10 @@ export const load: PageLoad = async ({ parent, params }) => {
|
||||
if (teamId) {
|
||||
redirect(
|
||||
303,
|
||||
resolve(
|
||||
'/(console)/organization-[organization]/(studio)/template-[region]-[template]',
|
||||
{
|
||||
organization: teamId,
|
||||
template: params.template,
|
||||
region: 'fra'
|
||||
}
|
||||
)
|
||||
resolve('/(console)/(studio)/template-[region]-[template]', {
|
||||
template: params.template,
|
||||
region: 'fra'
|
||||
})
|
||||
);
|
||||
}
|
||||
redirect(303, resolve('/'));
|
||||
|
||||
Reference in new issue
Block a user