Selaa lähdekoodia

fix: gitlab hook请求

370774330@qq.com 5 vuotta sitten
vanhempi
commit
a658d9f550

+ 1 - 0
web/src/main/java/seecoder/devcloud/web/infrastructure/config/WebSecurityConfig.java

@@ -49,6 +49,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .authorizeRequests()
                 .antMatchers("/**/*swagger*/**").permitAll()
                 .antMatchers("/**/*api-docs*/**").permitAll()
+                .antMatchers("/**/hook").permitAll()
                 .and()
                 .authorizeRequests()
                 //跨域的Options请求进行放行