exam-admin/src/main/resources/application.yml
@@ -7,9 +7,9 @@ multipart: enabled: true # 单个文件大小 max-file-size: 10MB max-file-size: 100MB # 设置总上传的文件大小 max-request-size: 20MB max-request-size: 200MB mvc: pathmatch: matching-strategy: ant_path_matcher @@ -18,6 +18,10 @@ port: 8082 servlet: context-path: /api tomcat: threads: min-spare: 10 max: 200 # 用户配置 @@ -36,3 +40,13 @@ #获取ip地址开关 addressEnabled: false # 防止XSS攻击 xss: # 过滤开关 enabled: true # 排除链接(多个用逗号分隔) excludes: # 匹配链接 urlPatterns: /system/*,/manage/*