- Introduced BOT_URL to the environment schema for enhanced configuration management. - Updated turbo.json to include BOT_URL in the environment variables list. - Modified subscription-bar.tsx to improve user messaging for subscription availability.
10 lines
235 B
TypeScript
10 lines
235 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(),
|
|
});
|
|
|
|
export const env = envSchema.parse(process.env);
|