diff --git a/doc/docker/application-docker.yml b/doc/docker/application-docker.yml index c4d85eb3..c8de8e54 100644 --- a/doc/docker/application-docker.yml +++ b/doc/docker/application-docker.yml @@ -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 # 静态资源访问接口前缀 diff --git a/doc/docker/index-production.js b/doc/docker/index-production.js index ee99898b..1ec0aa1a 100644 --- a/doc/docker/index-production.js +++ b/doc/docker/index-production.js @@ -1,6 +1,7 @@ window.ENV = 'production' var productionConfig = { - baseUrl: getIpPort() + baseUrl: getIpPort(), + fileUrlPrefix: getIpPort() + '/dataroom', } // 必须的 window.CONFIG = configDeepMerge(window.CONFIG, productionConfig)