Skip to content

Commit

Permalink
Merge pull request #84 from GoormJeans/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
devkeon committed Dec 27, 2023
2 parents 8140bca + e8a2c79 commit 06e094f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ public CorsConfigurationSource corsConfigurationSource(){
CorsConfiguration config = new CorsConfiguration();

config.setAllowCredentials(true);
config.setAllowedOrigins(List.of("http://localhost:3000"));
config.setAllowedOrigins(List.of("https://goojeans-50163.web.app/"));
config.setAllowedOrigins(List.of("https://goojeans-50163.web.app/", "http://localhost:3000"));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("*"));
Expand Down

0 comments on commit 06e094f

Please sign in to comment.