You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default we're sending a User-Agent header that includes the library name. When using the library in a browser-side project, this sounds the alarms of a couple of modern browsers :D They perform a pre-flight check on the server (since it's CORS). This is a problem at least with the Valhalla instance on OSM, since it doesn't support OPTIONS requests. We should probably remove it since in browser contexts this should be reserved for the browser.
The text was updated successfully, but these errors were encountered:
By default we're sending a User-Agent header that includes the library name. When using the library in a browser-side project, this sounds the alarms of a couple of modern browsers :D They perform a pre-flight check on the server (since it's CORS). This is a problem at least with the Valhalla instance on OSM, since it doesn't support
OPTIONS
requests. We should probably remove it since in browser contexts this should be reserved for the browser.The text was updated successfully, but these errors were encountered: