提交 | 用户 | age
|
17e47e
|
1 |
NODE_ENV=production |
V |
2 |
# Whether to open mock |
|
3 |
VITE_USE_MOCK = true |
|
4 |
|
|
5 |
# public path |
|
6 |
VITE_PUBLIC_PATH = / |
|
7 |
|
|
8 |
# Whether to enable gzip or brotli compression |
|
9 |
# Optional: gzip | brotli | none |
|
10 |
# If you need multiple forms, you can use `,` to separate |
|
11 |
VITE_BUILD_COMPRESS = 'none' |
|
12 |
|
|
13 |
# Basic interface address SPA |
|
14 |
VITE_GLOB_API_URL=/basic-api |
|
15 |
|
|
16 |
# File upload address, optional |
|
17 |
# It can be forwarded by nginx or write the actual address directly |
|
18 |
VITE_GLOB_UPLOAD_URL=/upload |
|
19 |
|
|
20 |
# Interface prefix |
|
21 |
VITE_GLOB_API_URL_PREFIX= |