新增安防告警不带图片和只上传图片去掉认证权限
This commit is contained in:
@ -129,7 +129,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
// dueros
|
||||
.antMatchers("/dueros").permitAll()
|
||||
//安防小板
|
||||
.antMatchers("/iot/photos").permitAll()
|
||||
.antMatchers("/iot/photos","/iot/photos/**").permitAll()
|
||||
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
.anyRequest().authenticated()
|
||||
|
Reference in New Issue
Block a user