Class CORSConfiguration
- java.lang.Object
-
- idatt2106.group3.backend.Configuration.CORSConfiguration
-
@Configuration public class CORSConfiguration extends java.lang.Object
Configures CORS to correct localhost port
-
-
Constructor Summary
Constructors Constructor Description CORSConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.config.annotation.WebMvcConfigurer
corsConfigurer()
Allows CORS to frontend application
-