This error is coming, whenever i try to call api.
Access to fetch at 'https://us-central1-delhimetroapi.cloudfunctions.net/route-get?from=Dwarka&to=Palam' from origin 'http://172.1.1.0:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-CORS' to fetch the resource with CORS disabled.
so please add the appropriate CORS headers to allow requests from my domain
This error is coming, whenever i try to call api.
Access to fetch at 'https://us-central1-delhimetroapi.cloudfunctions.net/route-get?from=Dwarka&to=Palam' from origin 'http://172.1.1.0:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-CORS' to fetch the resource with CORS disabled.
so please add the appropriate CORS headers to allow requests from my domain