Skip to content
Snippets Groups Projects

made changes in classes and methods to make frontend and backend work together

Merged Torbjørn Antonsen requested to merge backend_frontend_sync into main
34 files
+ 395
377
Compare changes
  • Side-by-side
  • Inline
Files
34
@@ -9,7 +9,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:4173")
.allowedOrigins("http://localhost:5173")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("*");
}
Loading