Skip to content

Commit

Permalink
refactor: try to fix corse v1
Browse files Browse the repository at this point in the history
  • Loading branch information
arturhasparian committed Mar 20, 2024
1 parent 2dd1be6 commit 89c7559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins(frontendHost)
.allowedOrigins(frontendHost);
// .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS");
}
}

0 comments on commit 89c7559

Please sign in to comment.