config.d.ts
818 Bytes
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
export interface GlobConfig {
publicPath: string
// Service interface url
apiUrl: string
// Upload url
uploadUrl?: string
// Service interface url prefix
urlPrefix?: string
// socket url
socketUrl?: string
shortName?: string
enableOss?: boolean
ossAddress?: string
streamMediaContentSecurityPortocol?: boolean
}
export interface GlobEnvConfig {
VITE_GLOB_PUBLIC_PATH: string
// Service interface url
VITE_GLOB_API_URL: string
// Service interface url prefix
VITE_GLOB_API_URL_PREFIX?: string
// Upload url
VITE_GLOB_UPLOAD_URL?: string
VITE_PROXY?: [string, string][]
VITE_GLOB_WEB_SOCKET_URL?: string
VITE_GLOB_SHORT_NAME?: string
VITE_GLOB_ENABLE_OSS?: boolean
VITE_GLOB_OSS_ADDRESS?: string
VITE_GLOB_STREAM_MEDIA_CONTENT_SECURITY_PROTOCOL?: boolean
}