Skip to content

Commit

Permalink
fix(#125) : 이미지 관련 시큐리티 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeon015 committed Aug 20, 2023
1 parent 82329d8 commit 8fc3d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/trothly/trothcam/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void configure(WebSecurity web) {
"/auth/google", "/auth/validate-token",
"/auth/check-id/**", "/auth/signup",
"/auth/login", "/auth/logout",
"/h2-console/**", "/health-check", "/sample/**", "/api/image/**",
"/h2-console/**", "/health-check", "/sample/**", "/api/image/authenticate",
"/api/product-detail", "/api/product-ranking/**", "/api/view-all/**");
}

Expand All @@ -63,7 +63,7 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers("/h2-console/**").permitAll()
.antMatchers("/health-check").permitAll()
.antMatchers("/sample/**").permitAll()
.antMatchers("/api/image/**").permitAll()
.antMatchers("/api/image/authenticate").permitAll()
.antMatchers("/api/product-detail").permitAll()
.antMatchers("/api/product-ranking/**").permitAll()
.antMatchers("/api/view-all/**").permitAll()
Expand Down

0 comments on commit 8fc3d83

Please sign in to comment.