Files
hedena_gold/apps/api/src/common/brand.ts
T
s.esmaeili ea86636027 Initial commit: Hedena Gold monorepo.
First commit of the Hedena Gold product (separate from gold-bank): branding, package names, and deploy defaults aligned to the new brand; legacy Henza trees stay local-only via .gitignore.
2026-10-15 17:19:10 +03:30

17 lines
587 B
TypeScript

import { envOr } from './env';
/**
* The brand name and public site address used in every SMS and message the
* server sends. Read on each call, so changing BRAND_NAME / BRAND_SITE_URL in
* the environment and restarting renames every outgoing text at once — no code
* change. The frontends read the same values from their own brand files; see
* docs/BRANDING.md for the full list.
*/
export function brandName(): string {
return envOr('BRAND_NAME', 'هدنا گلد');
}
export function brandSiteUrl(): string {
return envOr('BRAND_SITE_URL', 'https://bnk.montzar.ir');
}