Skip to content

Commit

Permalink
Merge pull request #114 from IxxP-Girls/modify
Browse files Browse the repository at this point in the history
Fix: 헤더에 content-type 추가
  • Loading branch information
diddnwjd committed Mar 11, 2024
2 parents 78853b3 + f951d88 commit 216ae42
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/com/ixxp/culpop/config/WebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD")
.allowedOrigins("http://localhost:8080", "https://localhost:5173", "http://43.202.13.38:8081", "https://www.culpop.shop", "https://my.culpop.shop", "https://a.culpop.vercel.app")
.allowedHeaders("Cookie")
.exposedHeaders("Access-Control-Allow-Methods")
.allowCredentials(true)
.maxAge(3600);
.allowedHeaders("Content-Type")
.allowCredentials(true);
}
}

0 comments on commit 216ae42

Please sign in to comment.