Skip to content

Commit

Permalink
Merge pull request #193 from Team-MindWay/add/192-vercel-deploy-url-c…
Browse files Browse the repository at this point in the history
…ors-option

🔀 :: vercel 배포 url cors 설정
  • Loading branch information
Umjiseung authored Jul 10, 2024
2 parents 969e70d + 33a1842 commit 248e37a
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 @@
public class WebMvcConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("http://localhost:3000", "https://mindway.vercel.app/")
.allowedMethods("*")
.allowedHeaders("*")
.exposedHeaders("Authorization")
Expand Down

0 comments on commit 248e37a

Please sign in to comment.