fix: 修复版本升级后的页面访问问题

This commit is contained in:
Captain.B 2021-05-31 16:51:13 +08:00 committed by 刘瑞斌
parent 0cbfda31da
commit a0afd557f4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ 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.web.resources.static-locations=classpath:/templates/,classpath:/static/
spring.resources.static-locations=classpath:/templates/,classpath:/static/
# flyway enable
spring.flyway.enabled=true
spring.flyway.baseline-on-migrate=true