Allowing CORS request in spring boot using config file