Skip to content

Commit 5f266be

Browse files
committed
길찾기 spring security 필터 해제
1 parent 788dfd5 commit 5f266be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/src/main/java/_team/onmyway/config/SecurityConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
4747
"/api/auth/**",
4848
"/swagger-ui/**",
4949
"/v3/api-docs/**",
50-
"/places/**",
51-
"/route/**"
50+
"/places/**"
51+
//"/route/**"
5252
).permitAll() // 요청을 보낸 이가 누구이든 상관없이 통과되는 URL.
5353
.requestMatchers( "/css/**", "/js/**", "/images/**").permitAll()
5454
.anyRequest().authenticated()
@@ -92,7 +92,7 @@ public CorsConfigurationSource corsConfigurationSource() {
9292
public WebSecurityCustomizer webSecurityCustomizer() {
9393
return webSecurity -> {
9494
webSecurity.ignoring()
95-
.requestMatchers("/assets/**");
95+
.requestMatchers("/assets/**", "/route/**");
9696
};
9797
}
9898
}

0 commit comments

Comments
 (0)