Skip to content

Commit a3dca9d

Browse files
author
muriloalvesdev
committed
sync with webapplicaitonconfig
1 parent 424b050 commit a3dca9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/br/com/developers/config/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public BCryptPasswordEncoder passwordEncoder() {
4949

5050
@Override
5151
protected void configure(HttpSecurity http) throws Exception {
52-
http.csrf().disable().authorizeRequests().antMatchers("/**").permitAll();
52+
http.csrf().disable().authorizeRequests().antMatchers("/api/**").permitAll();
5353
}
5454

5555
@Bean

0 commit comments

Comments
 (0)