- Added `OFFER_URL` and `SUPPORT_TELEGRAM_URL` to environment variable configuration for better flexibility. - Updated the offer page to dynamically link to the offer URL and improved contact information presentation with a direct link to the support Telegram. - Revised the privacy policy page to reflect the service name and updated contact details, ensuring clarity and consistency in communication.
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
/* eslint-disable unicorn/prevent-abbreviations */
|
|
import { z } from 'zod';
|
|
|
|
export const envSchema = z.object({
|
|
__DEV_TELEGRAM_ID: z.string().default(''),
|
|
BOT_URL: z.string(),
|
|
OFFER_URL: z.string(),
|
|
SUPPORT_TELEGRAM_URL: z.string(),
|
|
});
|
|
|
|
export const env = envSchema.parse(process.env);
|