Skip to content

Commit

Permalink
feat: cors &===(^t^)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbj338033 committed Aug 1, 2024
1 parent 57d9bbf commit dab1ba0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class WebConfig : WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {
registry
.addMapping("/**")
.allowedOriginPatterns("https://openmusic.mcv.kr")
.allowedOriginPatterns("https://openmusic.kr")
.allowedMethods("OPTIONS", "GET", "POST", "PUT", "PATCH", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit dab1ba0

Please sign in to comment.