Commit 31609a39 authored by RenanMontenegro3's avatar RenanMontenegro3

feat: "alteração em cors"

parent 5145b869
......@@ -11,7 +11,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://192.168.31.13:8100/")
.allowedOrigins("https://aceite-navio.uema.br")
.allowedMethods("GET", "POST", "DELETE", "PUT");
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment