commit
This commit is contained in:
@@ -10,7 +10,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
||||
@Override
|
||||
public void addCorsMappings(CorsRegistry registry) {
|
||||
registry.addMapping("/**")
|
||||
.allowedOrigins("http://localhost:3000")
|
||||
.allowedOrigins("*")
|
||||
.allowedMethods("OPTIONS", "GET", "POST", "PUT", "DELETE");
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
server:
|
||||
port: 9090
|
||||
port: 9999
|
||||
|
||||
|
||||
Reference in New Issue
Block a user