Skip to content

Commit

Permalink
cors
Browse files Browse the repository at this point in the history
  • Loading branch information
geunoo committed Dec 26, 2023
1 parent 71e8c19 commit 1abc0c7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ class WebSecurityConfig : WebMvcConfigurer {
.allowedOrigins("*")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD")
.allowedHeaders("*")
.allowCredentials(true)
.maxAge(3600)
}
}

0 comments on commit 1abc0c7

Please sign in to comment.