Skip to content

Commit

Permalink
[fix] 5173 port 열기
Browse files Browse the repository at this point in the history
  • Loading branch information
yunji118 committed Jan 10, 2024
1 parent 3815d52 commit 70ef88e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.addAllowedOrigin("http://localhost:3001");
configuration.addAllowedOrigin("http://localhost:3000");
configuration.addAllowedOrigin("http://localhost:5173");
configuration.addAllowedMethod("*");
configuration.addAllowedHeader("*");
configuration.setAllowCredentials(true);
Expand Down

0 comments on commit 70ef88e

Please sign in to comment.