diff --git a/frontend/apps/coze-studio/src/routes.tsx b/frontend/apps/coze-studio/src/routes.tsx index 6f8d296e..df4a7f2b 100644 --- a/frontend/apps/coze-studio/src/routes.tsx +++ b/frontend/apps/coze-studio/src/routes.tsx @@ -111,6 +111,7 @@ const AgentPublishPage = lazy(() => ); const DocsRedirect = lazy(() => import('./pages/docs')); +const Redirect = lazy(() => import('./pages/redirect')); export const router: ReturnType = createBrowserRouter([ @@ -130,6 +131,14 @@ export const router: ReturnType = requireAuth: false, }), }, + { + path: '/information/auth/success', + Component: Redirect, + loader: () => ({ + hasSider: false, + requireAuth: false, + }), + }, { path: '/', Component: Layout,