File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
backend/src/main/java/com/ai/lawyer/global/security Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,14 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
4040 .frameOptions (HeadersConfigurer .FrameOptionsConfig ::sameOrigin )
4141 )
4242 .authorizeHttpRequests (authorize -> authorize
43- .requestMatchers ("/api/auth/**" , "/api/public/**" ).permitAll ()
43+ .requestMatchers ("/api/auth/**" , "/api/public/**" , "/api/chat/**" ).permitAll ()
4444 .requestMatchers ("/v3/api-docs/**" , "/swagger-ui/**" , "/swagger-ui.html" ).permitAll ()
4545 .requestMatchers ("/api/posts/**" ).permitAll ()
4646 .requestMatchers ("/api/precedent/**" ).permitAll ()
4747 .requestMatchers ("/api/law/**" ).permitAll ()
4848 .requestMatchers ("/api/law-word/**" ).permitAll ()
4949 .requestMatchers ("/h2-console/**" ).permitAll ()
50+ .requestMatchers ("/api/chat/**" ).authenticated ()
5051 .anyRequest ().authenticated ()
5152 )
5253 // JWT 필터 추가
You can’t perform that action at this time.
0 commit comments