fix: 修复版本升级后的页面访问问题
This commit is contained in:
parent
9562d70120
commit
302f23572b
|
@ -25,7 +25,7 @@ yarn-error.log*
|
|||
|
||||
|
||||
src/main/resources/static
|
||||
src/main/resources/templates
|
||||
src/main/resources/public
|
||||
src/test/
|
||||
target
|
||||
.settings
|
||||
|
|
|
@ -488,7 +488,7 @@
|
|||
<followSymlinks>false</followSymlinks>
|
||||
</fileset>
|
||||
<fileset>
|
||||
<directory>src/main/resources/templates</directory>
|
||||
<directory>src/main/resources/public</directory>
|
||||
<includes>
|
||||
<include>**</include>
|
||||
</includes>
|
||||
|
@ -537,7 +537,7 @@
|
|||
<exclude name="*.html"/>
|
||||
</fileset>
|
||||
</move>
|
||||
<move todir="src/main/resources/templates">
|
||||
<move todir="src/main/resources/public">
|
||||
<fileset dir="../frontend/dist">
|
||||
<include name="*.html"/>
|
||||
</fileset>
|
||||
|
|
|
@ -27,8 +27,6 @@ mybatis.configuration.map-underscore-to-camel-case=true
|
|||
logging.file.path=/opt/metersphere/logs/${spring.application.name}
|
||||
# view
|
||||
spring.mvc.throw-exception-if-no-handler-found=true
|
||||
spring.web.resources.add-mappings=false
|
||||
spring.resources.static-locations=classpath:/templates/,classpath:/static/
|
||||
# flyway enable
|
||||
spring.flyway.enabled=true
|
||||
spring.flyway.baseline-on-migrate=true
|
||||
|
|
Loading…
Reference in New Issue