update security 路径配置抽取到配置文件

This commit is contained in:
疯狂的狮子li
2021-09-26 17:26:45 +08:00
parent 7702175130
commit 6976c7f386
3 changed files with 16 additions and 36 deletions

View File

@ -124,13 +124,17 @@ sa-token:
# security配置
security:
# 登出路径
logout-url: /logout
# 匿名路径
anonymous:
# 排除路径
excludes:
- /login
- /logout
- /register
- /captchaImage
# 静态资源
- /*.html
- /**/*.html
- /**/*.css
- /**/*.js
# swagger 文档配置
- /doc.html
- /swagger-resources/**
@ -141,8 +145,6 @@ security:
# actuator 监控配置
- /actuator
- /actuator/**
# 用户放行
permit-all:
# 重复提交
repeat-submit: