Class WebConfig

java.lang.Object
dev.karlkadak.backend.config.WebConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Configuration class to set up global CORS settings, ensures the backend application allows cross-origin requests from the React frontend