Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
strongmhk committed Aug 22, 2024
1 parent f5e0f7f commit 752f263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gaji/service/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public CorsConfigurationSource corsConfigurationSource() {


CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://genuine-valkyrie-e0010a.netlify.app/","http://gaji.run", "http://3.35.119.128"));
configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://genuine-valkyrie-e0010a.netlify.app/","https://gaji.run", "http://3.35.119.128", "http://192.168.100.94:3000"));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setExposedHeaders(Arrays.asList("Authorization", "Set-Cookie"));
Expand Down

0 comments on commit 752f263

Please sign in to comment.