Skip to content

Commit 4fb946e

Browse files
committed
fix: CORS 설정
1 parent e750147 commit 4fb946e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuk-api/src/main/kotlin/nexters/tuk/config/WebMvcConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class WebMvcConfig(
1616

1717
override fun addCorsMappings(registry: CorsRegistry) {
1818
registry.addMapping("/**")
19-
.allowedOrigins("http://localhost:3000", "https://tuk.kr")
19+
.allowedOrigins("http://localhost:3000", "https://tuk.kr", "https://www.tuk.kr")
2020
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
2121
.allowedHeaders("*")
2222
.allowCredentials(true)

0 commit comments

Comments
 (0)