Skip to content

Commit

Permalink
🔥 WebMvcConfig 에 더 이상 사용하지 않는 localhost 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuuuuk committed Apr 12, 2024
1 parent 6e8048e commit b7f2ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/andreas311/miso/global/web/WebMvcConfig.kt
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("https://miso-admin.vercel.app", "http://localhost:5173", "http://localhost:3000")
.allowedOrigins("https://miso-admin.vercel.app", "http://localhost:3000")
.allowedMethods("*")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit b7f2ee5

Please sign in to comment.