Update redirect to studio route and remove page

This commit is contained in:
Torsten Dittmann
2025-12-18 23:04:38 +04:00
parent 5898ccaab7
commit 7568b0d4e8
2 changed files with 4 additions and 8 deletions
@@ -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('/'));