Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
834 B
Bash
19 lines
834 B
Bash
# Backend API — در dev پیشفرض از پروکسی Vite استفاده میشود (`/api/backend`)
|
|
# برای اتصال مستقیم: VITE_BACKEND_URL=http://localhost:3001
|
|
# VITE_BACKEND_URL=
|
|
|
|
# Supabase Configuration (legacy — still used by non-auth features)
|
|
VITE_SUPABASE_URL=https://your-project-id.supabase.co
|
|
VITE_SUPABASE_ANON_KEY=your-anon-key-here
|
|
|
|
# AI — برای ایران معمولاً GapGPT پایدارتر از OpenRouter است
|
|
VITE_OPENAI_BASE_URL=https://api.gapgpt.app/v1
|
|
VITE_OPENAI_API_KEY=your-gapgpt-api-key
|
|
VITE_OPENAI_MODEL=gpt-4o-mini
|
|
# VITE_OPENAI_SYSTEM_PROMPT=
|
|
|
|
# اگر از OpenRouter استفاده میکنید (اغلب نیاز به VPN دارد):
|
|
# VITE_OPENAI_BASE_URL=https://openrouter.ai/api/v1
|
|
# VITE_OPENAI_API_KEY=sk-or-v1-...
|
|
# VITE_OPENAI_MODEL=qwen/qwen3-30b-a3b
|