Revert "Update redirect to studio route and remove page"

This reverts commit 7568b0d4e8.
This commit is contained in:
Torsten Dittmann
2025-12-18 23:50:16 +04:00
parent 7568b0d4e8
commit 022ca600a8
2 changed files with 8 additions and 4 deletions
@@ -11,10 +11,14 @@ export const load: PageLoad = async ({ parent, params }) => {
if (teamId) {
redirect(
303,
resolve('/(console)/(studio)/template-[region]-[template]', {
template: params.template,
region: 'fra'
})
resolve(
'/(console)/organization-[organization]/(studio)/template-[region]-[template]',
{
organization: teamId,
template: params.template,
region: 'fra'
}
)
);
}
redirect(303, resolve('/'));