Skip to content

Commit

Permalink
Update CorsConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
superpollo2 authored May 15, 2024
1 parent 84bb5f5 commit cff4971
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 WebMvcConfigurer corsConfigurer() {
return new WebMvcConfigurer() {
@Override
public void addCorsMappings(@NonNull CorsRegistry registry) {
registry.addMapping("/api/console-lis/**").allowedOrigins("http://localhost:3000").allowedHeaders("*").allowedMethods("*");
registry.addMapping("/api/console-lis/**").allowedOrigins("http://192.168.30.66").allowedHeaders("*").allowedMethods("*");
}
};
}
Expand Down

0 comments on commit cff4971

Please sign in to comment.