This commit is contained in:
2022-02-25 14:56:25 +09:00
parent 44e4312f5a
commit 67264fbbb4
2 changed files with 2 additions and 2 deletions

View File

@@ -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");
}
}

View File

@@ -1,3 +1,3 @@
server:
port: 9090
port: 9999