Adding Configuration annotation on CORS config class

This commit is contained in:
Arpit Mohan 2019-03-31 21:49:39 +05:30
parent cffb83a781
commit 5570020f6d

View File

@ -1,8 +1,10 @@
package com.mobtools.server.configurations;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.config.CorsRegistry;
import org.springframework.web.reactive.config.WebFluxConfigurer;
@Configuration
public class CorsGlobalConfiguration implements WebFluxConfigurer {
@Override