mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 21:44:38 +00:00
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.
13 lines
521 B
TypeScript
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;
|