Skip to content

Commit

Permalink
fix: CORS 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny committed Jan 12, 2024
1 parent 7ec2aff commit 85d07be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedOrigins("http://localhost:3000")
.allowedMethods("OPTIONS","GET","POST","PUT","DELETE")
.allowedMethods("*")
.allowCredentials(false)
.allowCredentials(true)
.maxAge(3000);
}
}

0 comments on commit 85d07be

Please sign in to comment.