Open simasch opened 1 year ago
The problem is that, CORS distinguishes between localhost and 127.0.01, so you have to add both of them to the CORSCustomizer class in spring like this: cc.setAllowedOrigins(List.of("http://localhost:3000","http://127.0.0.1:3000"));
I tried the Angular app and when I access http://localhost:3000/ I get: