Hello, I have an app on ionic 3, which sent 2 locations to the API of Google’s directions web services and a few days ago it worked. Suddenly I stop working and I get the following error:
XMLHttpRequest cannot load https://maps.googleapis.com/maps/api/directions/json?origin=-0.2556527,-78.…ence=less_driving&units=metric&key=AIzaSyDJ1yDrTnpxGt8kKsqcXl_34PHZYM9otWE. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.