forked from vbenjs/vue-vben-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.production
40 lines (29 loc) · 1.08 KB
/
.env.production
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Whether to open mock
VITE_USE_MOCK = false
# public path
VITE_PUBLIC_PATH = /
# Delete console
VITE_DROP_CONSOLE = false
# 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'
# Whether to delete origin files when using compress, default false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE=false
VITE_LEGACY = true
# Cross-domain proxy, you can configure multiple
# Please note that no line breaks
VITE_PROXY=[["/connect","https://auth.yuansicloud.com"],["/api","https://admingateway.yuansicloud.com"],["/signalr-hubs","ws://admingateway.yuansicloud.com"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
# Basic interface address SPA
VITE_GLOB_API_URL=https://admingateway.yuansicloud.com
# File upload address, optional
VITE_GLOB_UPLOAD_URL=/upload
# Interface prefix
VITE_GLOB_API_URL_PREFIX=
# Multi-tenancy key
VITE_GLOB_MULTITENANCY_KEY='__tenant'
# STS Connect
VITE_GLOB_AUTHORITY='https://auth.yuansicloud.com'
VITE_GLOB_CLIENT_ID='MiniApp-Official'
VITE_GLOB_CLIENT_SECRET=''