49 lines
970 B
JavaScript
49 lines
970 B
JavaScript
/**
|
|
* Shared 运行时配置 (Docker 部署)
|
|
* 此文件会被挂载到容器中,覆盖构建时的默认配置
|
|
*/
|
|
window.APP_RUNTIME_CONFIG = {
|
|
env: 'production',
|
|
|
|
api: {
|
|
baseUrl: '/api',
|
|
timeout: 30000
|
|
},
|
|
|
|
baseUrl: '/shared/',
|
|
|
|
file: {
|
|
downloadUrl: '/api/urban-lifeline/file/download/',
|
|
uploadUrl: '/api/urban-lifeline/file/upload',
|
|
maxSize: {
|
|
image: 5,
|
|
video: 100,
|
|
document: 10
|
|
},
|
|
acceptTypes: {
|
|
image: 'image/*',
|
|
video: 'video/*',
|
|
document: '.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx'
|
|
}
|
|
},
|
|
|
|
token: {
|
|
key: 'token',
|
|
refreshThreshold: 300000
|
|
},
|
|
|
|
publicImgPath: '/img',
|
|
publicWebPath: '/',
|
|
|
|
sso: {
|
|
platformUrl: 'https://192.168.130.131/',
|
|
workcaseUrl: 'https://192.168.130.131/workcase',
|
|
biddingUrl: 'https://192.168.130.131/bidding'
|
|
},
|
|
|
|
features: {
|
|
enableDebug: false,
|
|
enableMockData: false
|
|
}
|
|
};
|