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

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

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

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

Loading…
Cancel
Save