Skip to content

Commit

Permalink
Merge pull request #104 from TeamMiso/feat/cors-setting-update
Browse files Browse the repository at this point in the history
🔀 :: CORS 설정 변경
  • Loading branch information
uuuuuuuk authored Apr 12, 2024
2 parents 78c2b37 + b7f2ee5 commit 8f0868d
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 8f0868d

Please sign in to comment.