Firestore cors error

hi, I’ve an app write in ionic 4 and use firestore but i riceve this error:
the error is appeared suddenly

has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.