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

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

@ -3,8 +3,9 @@ server:
servlet: servlet:
context-path: context-path:
spring: spring:
resources: web:
static-locations: classpath:/static/,classpath:/META-INF/resources/,classpath:/META-INF/resources/webjars/,file:${gc.starter.file.basePath},file:${gc.starter.file.uiPath} resources:
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:
throw-exception-if-no-handler-found: true throw-exception-if-no-handler-found: true
# 静态资源访问接口前缀 # 静态资源访问接口前缀

@ -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