Skip to content

Commit e727e40

Browse files
committed
add :: clinet domain cors config
1 parent 9f8f53c commit e727e40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/stack/knowledge/global/config/WebMvcConfig.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class WebMvcConfig : WebMvcConfigurer {
1313
.allowedOrigins(
1414
"http://localhost:3000",
1515
"https://port-0-stack-knowledge-server-1xxfe2bllyrfbtt.sel5.cloudtype.app",
16-
"https://stack-knowledge-admin.vercel.app"
16+
"https://stack-knowledge-admin.vercel.app",
17+
"https://stack-knowledge-client.vercel.app/auth/login"
1718
)
1819
.allowCredentials(true)
1920
}

0 commit comments

Comments
 (0)