Skip to content

Commit

Permalink
refactor : CORS 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JunHwan Kim committed Sep 12, 2023
1 parent cd0b18b commit 58c3c12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/dnd/project/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public CorsFilter corsFilter() {
config.addAllowedOrigin("http://localhost:8080/");
config.addAllowedOrigin("http://localhost:3000");
config.addAllowedOrigin("http://localhost:3000/");
config.addAllowedOrigin("https://www.classcope.co.kr");

config.addAllowedMethod("GET");
config.addAllowedMethod("POST");
Expand Down

0 comments on commit 58c3c12

Please sign in to comment.