|
@@ -33,8 +33,9 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
.authorizeRequests()
|
|
|
.antMatchers("/task/*").hasIpAddress("0.0.0.0/0")
|
|
|
.antMatchers("/v2/api-docs", "/code/*",
|
|
|
- "/liveRoom/test", "/liveRoom/syncUserStatus", "/courseGroup/getLockCache", "/open/**")
|
|
|
- .permitAll().anyRequest().authenticated().and().httpBasic();
|
|
|
+ "/liveRoom/test", "/liveRoom/syncUserStatus", "/courseGroup/getLockCache", "/open/**",
|
|
|
+ "/liveRoomVideo/recordSync"
|
|
|
+ ).permitAll().anyRequest().authenticated().and().httpBasic();
|
|
|
}
|
|
|
|
|
|
@Override
|