Skip to content

Commit

Permalink
fix for comment of pr
Browse files Browse the repository at this point in the history
  • Loading branch information
harshadk-sourcefuse committed Aug 3, 2023
1 parent aa2c498 commit 25ced6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class CorsConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
if (corsUrl != null) {
registry
.addMapping("/api/**")
.addMapping("/**")
.allowedOrigins(corsUrl)
.allowedMethods("*")
.allowedHeaders("*")
Expand Down

0 comments on commit 25ced6b

Please sign in to comment.