服务打包初步结构
This commit is contained in:
57
docker/urbanLifeline/web/config/app-config-workcase.js
Normal file
57
docker/urbanLifeline/web/config/app-config-workcase.js
Normal file
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* @description Workcase 运行时配置 (Docker 部署用)
|
||||
*
|
||||
* 域名: https://demo-urbanlifeline.tensorgrove.com
|
||||
* 修改此文件后重启容器生效
|
||||
*/
|
||||
|
||||
window.APP_RUNTIME_CONFIG = {
|
||||
env: 'production',
|
||||
|
||||
api: {
|
||||
baseUrl: '/api',
|
||||
timeout: 30000
|
||||
},
|
||||
|
||||
baseUrl: '/',
|
||||
|
||||
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://demo-urbanlifeline.tensorgrove.com/',
|
||||
workcaseUrl: 'https://demo-urbanlifeline.tensorgrove.com/workcase',
|
||||
biddingUrl: 'https://demo-urbanlifeline.tensorgrove.com/bidding'
|
||||
},
|
||||
|
||||
aesSecretKey: 'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI=',
|
||||
|
||||
jitsi: {
|
||||
serverUrl: 'https://demo-jitsi.tensorgrove.com'
|
||||
},
|
||||
|
||||
features: {
|
||||
enableDebug: false,
|
||||
enableMockData: false
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user