Skip to content

Commit

Permalink
Fixed securityConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AlistairMRoss committed Sep 28, 2023
1 parent 0275fe2 commit 7b67361
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
@Bean
CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(Arrays.asList("https://ec2-174-129-77-195.compute-1.amazonaws.com:423/")); //""
configuration.setAllowedOrigins(Arrays.asList("https://ec2-174-129-77-195.compute-1.amazonaws.com:443/")); //""
configuration.setAllowedMethods(Arrays.asList("*"));
configuration.setAllowedHeaders(Arrays.asList("*"));
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
Expand Down

0 comments on commit 7b67361

Please sign in to comment.