|
@@ -31,7 +31,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
.and()
|
|
.and()
|
|
.authorizeRequests()
|
|
.authorizeRequests()
|
|
.antMatchers("/task/**").hasIpAddress("0.0.0.0/0")
|
|
.antMatchers("/task/**").hasIpAddress("0.0.0.0/0")
|
|
- .antMatchers("/v2/api-docs")
|
|
|
|
|
|
+ .antMatchers("/v2/api-docs","/room/statusSync")
|
|
.permitAll().anyRequest().authenticated().and().httpBasic();
|
|
.permitAll().anyRequest().authenticated().and().httpBasic();
|
|
}
|
|
}
|
|
|
|
|