Getting CORS error on <my_host>/ors/v2/directions/driving-car/
while requesting from my react app.
But works fine when the same API is called via Mobile App (React Native)
Getting CORS error on <my_host>/ors/v2/directions/driving-car/
while requesting from my react app.
But works fine when the same API is called via Mobile App (React Native)
Hi @wsamipw,
that is very limited information for the problem.
might be a problem with the browser settings, the url ending in a /
how you run your local ors instance ore something else.
Normally the Docker instance should allow requests from all origins…
Could you add a bit more info please? (Exact error, Status of OPTIONS request, log of your ors instance …)
Best regards