Skip to content

Commit

Permalink
⚡feat: config fe url cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantaphocpython committed Nov 10, 2024
1 parent 67d30b3 commit ff08094
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ JwtAuthenticationConverter jwtAuthenticationConverter() {
@Bean
CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(List.of("https://wemeet-client.vercel.app/", "http://localhost:3000"));
configuration.setAllowedOrigins(List.of("https://wemeet-client.vercel.app", "http://localhost:3000"));

configuration.setAllowedMethods(List.of("*"));
configuration.setAllowedHeaders(List.of("*"));
Expand Down

0 comments on commit ff08094

Please sign in to comment.