Skip to content

Commit

Permalink
feat: cors allowed url 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHongDev committed Jul 2, 2024
1 parent 3777a69 commit 4a132a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public class CorsConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:5173",
"http://localhost:4173"
"http://localhost:4173",
"https://mu-fe-kuwwdoyjsa-an.a.run.app"
)
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
.allowCredentials(true);
Expand Down

0 comments on commit 4a132a8

Please sign in to comment.