Skip to content

Commit

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

0 comments on commit 5ed79f9

Please sign in to comment.