we have a scenario where we deployed the laravel application on server in which cloudflare is installed. Every request passes through cloudflare then into our application. we have developed vue.js app. We used axios to get data from server and populate into our vue.js app. axios send options request to the server first and get the response headers i.e Allow-Access-control-origin from laravel. but the problem arrives when cloudflare also add those headers again. so headers got multiple values and cors issue arrived. Now is there a way to stop cloudflare from laravel to add already added headers or any better solution in you people mind.
P.S: Infra team in our company refused to remove those lines which are adding headers through cloudflare.