Skip to content

Commit

Permalink
Merge pull request #313 from GSM-MSG/312-cors-add
Browse files Browse the repository at this point in the history
🔀 :: cors url 추가
  • Loading branch information
Umjiseung authored Apr 12, 2024
2 parents 8f95bf7 + ba74ab8 commit f7d6092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
class WebMvcConfig: WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "https://gauth.co.kr", "https://www.gauth.co.kr", "https://dev-gauth-frontend.vercel.app")
.allowedOrigins("http://localhost:3000", "https://gauth.co.kr", "https://www.gauth.co.kr", "https://dev-gauth-frontend.vercel.app", "https://gauth-sigma.vercel.app")
.allowedMethods("*")
.allowedHeaders("*")
.exposedHeaders("Authorization")
Expand Down

0 comments on commit f7d6092

Please sign in to comment.