Skip to content

Commit

Permalink
♻️ : CORS 에러
Browse files Browse the repository at this point in the history
  • Loading branch information
imenuuu committed May 5, 2024
1 parent c52d1d2 commit c8f6f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/example/runway/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ protected void configure(HttpSecurity httpSecurity) throws Exception {
.antMatchers("/test/img").permitAll()
.antMatchers("/login/**").permitAll()
.antMatchers("/health").permitAll()
.antMatchers("/admin").hasAnyRole("ADMIN")
.antMatchers("/admin/user/logIn").permitAll()
.antMatchers("/admin/**").hasAnyRole("ADMIN")
.antMatchers("/admin/users/logIn").permitAll()

.anyRequest().authenticated()

Expand Down

0 comments on commit c8f6f75

Please sign in to comment.