Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

505 B
Raw Blame
// Next.js routes that must NOT go to SPA catch-all.
// Shared between middleware (define-config.ts) and the client Link adapter.
export const nextjsOnlyRoutes = ['/discover'];

// Routes served by the standalone auth SPA (/spa-auth). The main SPA must
// hard-navigate to them (cross-app), so the Link adapter treats them like
// nextjsOnlyRoutes.
export const authSpaRoutes = [
  '/signin',
  '/signup',
  '/auth-error',
  '/reset-password',
  '/verify-email',
  '/oauth',
  '/market-auth-callback',
];