fix: 排除路径配置放开 /error
如果不放开 /error 路径,404 类的错误跳转到 /error 时将返回 401
This commit is contained in:
parent
883dbecb1b
commit
0428fe7762
@ -116,6 +116,7 @@ captcha:
|
|||||||
|
|
||||||
--- ### 安全配置-排除路径配置
|
--- ### 安全配置-排除路径配置
|
||||||
security.excludes:
|
security.excludes:
|
||||||
|
- /error
|
||||||
# 静态资源
|
# 静态资源
|
||||||
- /*.html
|
- /*.html
|
||||||
- /**/*.html
|
- /**/*.html
|
||||||
|
@ -116,6 +116,7 @@ captcha:
|
|||||||
|
|
||||||
--- ### 安全配置-排除路径配置
|
--- ### 安全配置-排除路径配置
|
||||||
security.excludes:
|
security.excludes:
|
||||||
|
- /error
|
||||||
# 静态资源
|
# 静态资源
|
||||||
- /*.html
|
- /*.html
|
||||||
- /**/*.html
|
- /**/*.html
|
||||||
|
Loading…
Reference in New Issue
Block a user