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.

315 B
Raw Blame
import { OFFICIAL_CLOUD_URL, OFFICIAL_URL } from '@lobechat/const';

// shortcut: keep cloud installs on the app origin until gateway login redirects are fixed.
export const integrationInstallOrigin = (appOrigin: string): string =>
  appOrigin.replace(/\/+$/, '') === OFFICIAL_CLOUD_URL ? OFFICIAL_URL : appOrigin;