Files
deerflow-code/frontend-web/src/core/official-deerflow/routes.ts
T
2026-09-06 22:17:53 +08:00

14 lines
612 B
TypeScript

/**
* Hash-router entry used by the customized Vite application for the isolated
* official-style UI. Keeping this prefix distinct from `/page/*` prevents its
* routes and mock state from altering the customized application.
*/
export const OFFICIAL_DEERFLOW_ROUTE_PREFIX = "/official";
/** The official-style workspace home shown after a normal login. */
export const OFFICIAL_DEERFLOW_HOME_ROUTE =
`${OFFICIAL_DEERFLOW_ROUTE_PREFIX}/workspace/chats/new`;
/** Existing customized application's normal post-login destination. */
export const CUSTOMIZED_DEERFLOW_HOME_ROUTE = "/page/workspace/chats/new";