add
This commit is contained in:
@ -48,7 +48,7 @@ public class SpringSecurityConfig {
|
||||
registry.antMatchers(url).permitAll();
|
||||
}
|
||||
// 文件资源 无需鉴权
|
||||
registry.antMatchers(BaseConstant.RESOURCE_PREFIX + "/**").permitAll();
|
||||
registry.antMatchers(BaseConstant.RESOURCE_PATTERN).permitAll();
|
||||
// 由于使用的是JWT,我们这里不需要csrf
|
||||
httpSecurity.csrf()
|
||||
.disable()
|
||||
|
Reference in New Issue
Block a user