-
Notifications
You must be signed in to change notification settings - Fork 340
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
vroom with ORS instance on different base path than /ors not possible #1036
Comments
Important to note that this’ll break existing vroom/ORS users and they’ll need to append /ors now themselves. I highly doubt Julien would consider it a breaking change, but IMO this should be at least flagged in the changelog. Also vroom-express will need to get a new release with a new default config.yml to change the default host paths. Good timing though with 1.14 being eminent apparently:) |
Agree! Will add to the changelog.
I will add a PR that complements this. |
Hum right since it won't break anything for me. But users that suddenly get errors after upgrading might have a different opinion. On the other hand if this is handled at the |
VROOM-Project/vroom-express#99 the complementing PR is ready |
Merged in |
Hi 👋🏻 ORS maintainer here,
currently the base path in the ors_wrapper.cpp is hardcoded to
/ors/v2
. While this is the default of a self-hosted ors instance,the live API doesn't use the
/ors
base path and no connection to it or other instances without the default base path is possible.The solution would be to remove the hardcoded
/ors
basepath in the ors_wrapper.cpp. (thev2
is still the default but will change tov3
as well at some point.)Since the introduction of the
host.path
the base path can now be set dynamically in theconifg.yml
of vroom-express or passed via cli passing<profile>:<host>/ors
.And with the introduced change this would need to be done for coupling with selfhosted ors instances with default settings.
The text was updated successfully, but these errors were encountered: