Skip to content

Commit

Permalink
fix : fix webconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboysj authored Nov 28, 2024
1 parent ed9dd15 commit fc06e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gigedi/dev/global/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOriginPatterns("http://localhost:5173", "https://www.figma.com/**")
.allowedOriginPatterns("http://localhost:5173", "https://www.figma.com/**", "https://shoot-manage.com/**")
.allowedMethods("GET", "POST", "PATCH", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit fc06e4c

Please sign in to comment.