Add localhost:4200 for new Angular frontend.

This commit is contained in:
Jesse Brault 2025-12-13 11:41:41 -06:00
parent e9b106d5de
commit a24f4192a9

View File

@ -16,7 +16,7 @@ public class MvcConfiguration {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedOrigins("http://localhost:5173")
.allowedOrigins("http://localhost:5173", "http://localhost:4200")
.allowCredentials(true);
}