服务打包初步结构

This commit is contained in:
2026-01-02 14:56:14 +08:00
parent 19026c1b30
commit 89bc8bf1d4
77 changed files with 5290 additions and 2070 deletions

View 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
}
};