Skip to content

Commit 8e15cc3

Browse files
authored
Merge pull request #149 from TeamMiso/feat/cors-ch2
cors 설정 추가2
2 parents d6a8a3d + 8f8991e commit 8e15cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class WebMvcConfig : WebMvcConfigurer {
1010
override fun addCorsMappings(registry: CorsRegistry) {
1111

1212
registry.addMapping("/**")
13-
.allowedOrigins("https://miso-admin.vercel.app")
13+
.allowedOrigins("https://miso-admin.vercel.app", "http://localhost:5173")
1414
.allowedMethods("*")
1515
.allowedHeaders("*")
1616
.allowCredentials(true)

0 commit comments

Comments
 (0)