新增是否启用默认 Servlet 映射(启用后可访问 webapp 下的静态资源)

This commit is contained in:
thinkgem
2022-04-18 17:08:22 +08:00
parent 1054c544bf
commit 5398f57fe1
2 changed files with 27 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ server:
port: 8980
servlet:
context-path: /js
register-default-servlet: false
tomcat:
uri-encoding: UTF-8
# 表单请求数据的最大大小