CORS issue in Capacitor

We have a react js web app hosted on firebase while start the app there is a file init.json request on the web app and it’s received successfully.
while using capacitor to start the mobile app, we get the CORS issue
any idea how to resolve this?