You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
646 B
19 lines
646 B
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
/**
|
|
* پایهٔ آدرس API بکاند. اگر تنظیم نشود از '/api' استفاده میشود که در dev
|
|
* توسط پراکسی Vite به VITE_API_TARGET هدایت میشود (بدون CORS).
|
|
* مثال production: https://api.example.com
|
|
*/
|
|
readonly VITE_API_BASE_URL?: string
|
|
/**
|
|
* مقصد پراکسیِ dev برای مسیر '/api' (فقط در vite.config، نه در کلاینت).
|
|
* پیشفرض http://localhost:8000.
|
|
*/
|
|
readonly VITE_API_TARGET?: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|