docs: 优化docker打包的配置文件

优化docker打包的配置文件
main
hong.yang 1 year ago
parent 862e92eaec
commit c9e88e2f7a

@ -3,6 +3,7 @@ server:
servlet: servlet:
context-path: context-path:
spring: spring:
web:
resources: resources:
static-locations: classpath:/static/,classpath:/META-INF/resources/,classpath:/META-INF/resources/webjars/,file:${gc.starter.file.basePath},file:${gc.starter.file.uiPath} static-locations: classpath:/static/,classpath:/META-INF/resources/,classpath:/META-INF/resources/webjars/,file:${gc.starter.file.basePath},file:${gc.starter.file.uiPath}
mvc: mvc:

@ -1,6 +1,7 @@
window.ENV = 'production' window.ENV = 'production'
var productionConfig = { var productionConfig = {
baseUrl: getIpPort() baseUrl: getIpPort(),
fileUrlPrefix: getIpPort() + '/dataroom',
} }
// 必须的 // 必须的
window.CONFIG = configDeepMerge(window.CONFIG, productionConfig) window.CONFIG = configDeepMerge(window.CONFIG, productionConfig)

Loading…
Cancel
Save