修正
This commit is contained in:
@@ -3,18 +3,22 @@
|
|||||||
* 此文件会被挂载到容器中,覆盖构建时的默认配置
|
* 此文件会被挂载到容器中,覆盖构建时的默认配置
|
||||||
*/
|
*/
|
||||||
window.APP_RUNTIME_CONFIG = {
|
window.APP_RUNTIME_CONFIG = {
|
||||||
|
// 环境标识
|
||||||
env: 'production',
|
env: 'production',
|
||||||
|
|
||||||
|
// API 配置
|
||||||
api: {
|
api: {
|
||||||
baseUrl: '/api',
|
baseUrl: '/urban-lifeline',
|
||||||
timeout: 30000
|
timeout: 30000
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 应用基础路径
|
||||||
baseUrl: '/shared/',
|
baseUrl: '/shared/',
|
||||||
|
|
||||||
|
// 文件配置
|
||||||
file: {
|
file: {
|
||||||
downloadUrl: '/api/urban-lifeline/file/download/',
|
downloadUrl: '/urban-lifeline/file/download/',
|
||||||
uploadUrl: '/api/urban-lifeline/file/upload',
|
uploadUrl: '/urban-lifeline/file/upload',
|
||||||
maxSize: {
|
maxSize: {
|
||||||
image: 5,
|
image: 5,
|
||||||
video: 100,
|
video: 100,
|
||||||
@@ -27,20 +31,24 @@ window.APP_RUNTIME_CONFIG = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Token 配置
|
||||||
token: {
|
token: {
|
||||||
key: 'token',
|
key: 'token',
|
||||||
refreshThreshold: 300000
|
refreshThreshold: 300000
|
||||||
},
|
},
|
||||||
|
|
||||||
publicImgPath: '/img',
|
// 公共资源路径
|
||||||
publicWebPath: '/',
|
publicImgPath: '/shared/img',
|
||||||
|
publicWebPath: '/shared',
|
||||||
|
|
||||||
|
// 单点登录配置
|
||||||
sso: {
|
sso: {
|
||||||
platformUrl: 'https://192.168.130.131/',
|
platformUrl: 'https://192.168.130.131/platform/',
|
||||||
workcaseUrl: 'https://192.168.130.131/workcase',
|
workcaseUrl: 'https://192.168.130.131/workcase/',
|
||||||
biddingUrl: 'https://192.168.130.131/bidding'
|
biddingUrl: 'https://192.168.130.131/bidding/'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 功能开关
|
||||||
features: {
|
features: {
|
||||||
enableDebug: false,
|
enableDebug: false,
|
||||||
enableMockData: false
|
enableMockData: false
|
||||||
|
|||||||
Reference in New Issue
Block a user