Skip to content

Commit

Permalink
Merge pull request #146 from TeamMiso/feat/cors-ch
Browse files Browse the repository at this point in the history
cors 설정 추가
  • Loading branch information
uuuuuuuk authored Jan 15, 2024
2 parents 5801610 + f1b1567 commit d6a8a3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class WebMvcConfig : WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {

registry.addMapping("/**")
.allowedOrigins("http://localhost:5173")
.allowedOrigins("https://miso-admin.vercel.app")
.allowedMethods("*")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit d6a8a3d

Please sign in to comment.