Files
openhuman/src/utils/config.ts
T
cyrus 5b9a088141 Refactor: centralize development environment check with IS_DEV
Replaces scattered environment checks with the centralized `IS_DEV` constant from `config.ts`. This improves consistency and simplifies maintenance by reducing redundancy across multiple files.
2026-03-20 17:38:28 +05:30

13 lines
521 B
TypeScript

export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL || 'https://api.alphahuman.xyz';
export const TELEGRAM_BOT_USERNAME =
import.meta.env.VITE_TELEGRAM_BOT_USERNAME || 'alphahumanx_bot';
export const TELEGRAM_BOT_ID = import.meta.env.VITE_TELEGRAM_BOT_ID || '8043922470';
export const IS_DEV = import.meta.env.DEV;
export const SKILLS_GITHUB_REPO = import.meta.env.VITE_SKILLS_GITHUB_REPO || 'alphahumanxyz/skills';
export const DEV_AUTO_LOAD_SKILL = import.meta.env.VITE_DEV_AUTO_LOAD_SKILL || undefined;