Skip to content

Commit

Permalink
hotfix: Cors 도메인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Jan 29, 2024
1 parent 718870c commit 5e8e1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/petqua/common/config/CorsConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CorsConfig : WebMvcConfigurer {

override fun addCorsMappings(registry: CorsRegistry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "https://petqua.co.kr")
.allowedOrigins("http://localhost:3000", "https://petqua.co.kr", "http://localhost:5173")
.allowedMethods(
OPTIONS.name(),
GET.name(),
Expand Down

1 comment on commit 5e8e1e5

@BaeJ1H021
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다

Please sign in to comment.