Skip to content

Commit 4716ef2

Browse files
committed
route 안되는 원인 분석하기
1 parent 775b6e3 commit 4716ef2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
3939
"/",
4040
"/find-route",
4141
"/index.html",
42-
//"/assets/**",
42+
"/assets/**",
4343
"/login",
4444
"/error",
4545
"/oauth2/authorization/**",
4646
"/login/oauth2/code/**",
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/**", "/route/**");
95+
.requestMatchers("/assets/**");
9696
};
9797
}
9898
}

0 commit comments

Comments
 (0)