Files

17 lines
589 B
TypeScript
Raw Permalink Normal View History

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');
}