2023-07-06 13:55:41 +08:00
|
|
|
|
# Whether to open mock
|
|
|
|
|
VITE_USE_MOCK = false
|
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
|
|
|
|
|
|
# timeout(seconds)
|
|
|
|
|
VITE_TIMEOUT = 15
|
|
|
|
|
# Delete console
|
|
|
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
|
|
|
|
|
|
# Whether to enable gzip or brotli compression
|
|
|
|
|
# Optional: gzip | brotli | none
|
|
|
|
|
# If you need multiple forms, you can use `,` to separate
|
|
|
|
|
VITE_BUILD_COMPRESS = 'none'
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL = "__vg_base_url"
|
2023-07-06 13:55:41 +08:00
|
|
|
|
|
|
|
|
|
# File upload address, optional
|
|
|
|
|
# It can be forwarded by nginx or write the actual address directly
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_UPLOAD_URL = /files/upload
|
2023-07-06 13:55:41 +08:00
|
|
|
|
# Interface prefix
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL_PREFIX =
|