Skip to content

Commit

Permalink
HOTFIX: cors 주소 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 10, 2024
1 parent 6b3cdd6 commit a5ec477
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();

configuration.addAllowedOriginPattern("http://localhost:3000");
configuration.addAllowedOriginPattern("https://43.203.226.98.nip.io");
configuration.addAllowedOriginPattern("http://127.0.0.1:5500"); // HTML Live Server CORS 설정
configuration.addAllowedMethod("*");
configuration.addAllowedHeader("*");
Expand Down

0 comments on commit a5ec477

Please sign in to comment.