Skip to content

Commit

Permalink
SecurityConfig 포트 경로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
seohyun-lee committed Feb 13, 2024
1 parent ee564f6 commit 8275a38
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public JwtTokenProvider jwtTokenProvider() {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.addAllowedOrigin("http://localhost:3000");
configuration.addAllowedOrigin("http://localhost:5173");
configuration.addAllowedOrigin("http://localhost:5174");
configuration.addAllowedOrigin("http://localhost:8080");
configuration.addAllowedMethod("*"); //모든 Method 허용(POST, GET, ...)
configuration.addAllowedHeader("*"); //모든 Header 허용
Expand Down

0 comments on commit 8275a38

Please sign in to comment.