mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Update redirect to studio route and remove page
This commit is contained in:
@@ -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