Skip to content

Commit

Permalink
Merge pull request #87 from KNU-HAEDAL-Website/chore-cors-filter-open…
Browse files Browse the repository at this point in the history
…-issue-85

Chore: cors 필터 오픈
  • Loading branch information
tfer2442 authored Aug 27, 2024
2 parents 48441d3 + 0c2a1b7 commit 6d1f577
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {

CorsConfiguration configuration = new CorsConfiguration();

configuration.setAllowedOrigins(Collections.singletonList("http://localhost:3000"));
configuration.setAllowedOrigins(Collections.singletonList("http://localhost:3000, http://www.knu-haedal.com"));
configuration.setAllowedMethods(Collections.singletonList("*"));
configuration.setAllowCredentials(true);
configuration.setAllowedHeaders(Collections.singletonList("*"));
Expand Down

0 comments on commit 6d1f577

Please sign in to comment.