-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS Issue #16
Comments
Ya I'm facing the same issue right now. Any idea how we can fix this.? |
It was a network issue in my case. My network was the school's and it didn't allow apps to receive current location |
i'm trying to use it on react, but I got CORS, although when I try on browser or Curl, works fine |
I use the Moesif CORS Google Chrome extension as a workaround for local development. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failed to load https://maps.googleapis.com/maps/api/distancematrix/json?origins=Toronto%2C%20ON%2C%20CA&destinations=Vancouver%2C%20ON%2C%20CA&mode=driving&units=metric&language=en&avoid=&key=: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
How can I solve this issue?
The text was updated successfully, but these errors were encountered: