From c650cb442cf9c6688315a0e8a0af5e1c2bc705fa Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Sat, 16 Dec 2023 01:02:51 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20SecurityConfig=20=EC=97=90=20AI=20?= =?UTF-8?q?=ED=86=B5=EC=8B=A0=20api=20=EC=9D=98=20=EC=97=94=EB=93=9C?= =?UTF-8?q?=ED=8F=AC=EC=9D=B8=ED=8A=B8=EB=A5=BC=20process=5Fimage=20?= =?UTF-8?q?=EC=97=90=EC=84=9C=20process=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/andreas311/miso/global/security/SecurityConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt b/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt index 34c93c58..d64a06ed 100644 --- a/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt +++ b/src/main/kotlin/andreas311/miso/global/security/SecurityConfig.kt @@ -66,7 +66,7 @@ class SecurityConfig( .antMatchers(HttpMethod.GET, "/recyclables").authenticated() .antMatchers(HttpMethod.GET, "/recyclables/search").authenticated() .antMatchers(HttpMethod.GET, "/recyclables/all").authenticated() - .antMatchers(HttpMethod.POST, "/recyclables/process_image").authenticated() + .antMatchers(HttpMethod.POST, "/recyclables/process").authenticated() .antMatchers(HttpMethod.POST, "/notification/save/{deviceToken}").authenticated() .antMatchers(HttpMethod.GET, "/notification/{id}").authenticated()