Skip to content

Commit

Permalink
feat: 프론트엔드 배포 url CORS 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
mingulmangul committed Nov 25, 2023
1 parent 4796d89 commit e4de18c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/efub/dhs/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedOrigins("http://api.daehaengsa.kro.kr",
"https://api.daehaengsa.kro.kr",
"http://localhost:3000",
"https://dhs-frontend.vercel.app",
"https://daehaengsa.kro.kr")
.allowedMethods("GET", "POST", "PATCH", "DELETE")
.allowCredentials(true)
Expand Down

0 comments on commit e4de18c

Please sign in to comment.