Skip to content

Commit

Permalink
fix:add url poolc.kr in allow origins
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 committed Jan 1, 2024
1 parent 19c021e commit a1ee4f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowCredentials(true);
configuration.setAllowedOrigins(Arrays.asList("https://alpha.poolc.org",
"https://server.poolc.kr", "http://localhost:3000","http://server.poolc.kr"));
"https://server.poolc.kr", "http://localhost:3000","http://server.poolc.kr",
"http://poolc.kr","https://poolc.kr"));
configuration.setAllowedHeaders(Arrays.asList("Authorization", "Cache-Control",
"Content-Type", "Accept", "Content-Length", "Accept-Encoding", "X-Requested-With"));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD"));
Expand Down

0 comments on commit a1ee4f7

Please sign in to comment.