Skip to content

Commit 56ebcab

Browse files
committed
fix: CORS 수정
1 parent 608aba5 commit 56ebcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CorsConfig {
1717
allowedOriginPatterns = listOf(
1818
"http://localhost:3000",
1919
"https://tuk.kr",
20-
"https://www.tuk.kr"
20+
"https://*.tuk.kr"
2121
)
2222
allowedMethods = listOf("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
2323
allowedHeaders = listOf("Content-Type", "Authorization", "X-Requested-With", "Accept")

0 commit comments

Comments
 (0)