Skip to content

Commit

Permalink
refact: delete duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ji-soo708 committed Jan 28, 2025
1 parent 3230f20 commit a531af9
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,5 @@ class WebConfig(
.allowedMethods("*")
.allowedOrigins(*allowedOrigins.toTypedArray())
.allowCredentials(true)

registry.addMapping("/swagger-ui/**")
.allowedMethods("*")
.allowedOrigins(*allowedOrigins.toTypedArray())
.allowCredentials(true)

registry.addMapping("/v3/api-docs/**")
.allowedMethods("*")
.allowedOrigins(*allowedOrigins.toTypedArray())
.allowCredentials(true)
}
}

0 comments on commit a531af9

Please sign in to comment.