From 8fc3d83a02b6f1fa58625348a22ee009d82ae62e Mon Sep 17 00:00:00 2001 From: yeon015 Date: Sun, 20 Aug 2023 15:26:50 +0900 Subject: [PATCH] =?UTF-8?q?fix(#125)=20:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=8B=9C=ED=81=90=EB=A6=AC=ED=8B=B0=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/trothly/trothcam/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/trothly/trothcam/config/SecurityConfig.java b/src/main/java/trothly/trothcam/config/SecurityConfig.java index 6970c7a..21ef170 100644 --- a/src/main/java/trothly/trothcam/config/SecurityConfig.java +++ b/src/main/java/trothly/trothcam/config/SecurityConfig.java @@ -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/**"); } @@ -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()