CORS Regions Error

Dear Community

I am trying to connect my apis to my web app through Cloudflare but the apis are not connecting the server seemingly because my CORS headers are missing. My origin is through root and sub domain example ‘rd-com’ and ‘m-rd-com’ however from the subdomain data is working while the domain APIs are being restricted by the CORS

Do i need to setup some rules in the settings to have CF run on my domain ?? Kindly help me get out of this mess already spent 3 days to resolve