Skip to content
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

Custom API endpoint setting #243

Closed
TimMcCauley opened this issue Aug 1, 2018 · 1 comment
Closed

Custom API endpoint setting #243

TimMcCauley opened this issue Aug 1, 2018 · 1 comment

Comments

@TimMcCauley
Copy link
Contributor

Currently the app directs every request to the static setting api.openrouteservice.org/.. - for a developer with a local ORS setup it would be handy, if the api endpoints could be changed in settings on the fly, so giving the user an option to send it to localhost:8080/ors.. etc.

TheGreatRefrigerator added a commit that referenced this issue Aug 9, 2018
The Developer Settings are accessible through a barely visible gear icon
in the bottom left corner of the settings modal.
There are presets for setting the endpoits to a local ORS backend or to the ORS API.
Changing the baseURL input will adjust the baseURL of every endpoint.
It is also possible to adjust the enpoints individually by clicking 'Specify Endpoints'.
Upon clicking 'Change Endpoints' the requests will be sent to the new endpoints.
'Reset' will switch all endpoints to their initial state.
Happy developing.

Refers to #243
@TheGreatRefrigerator
Copy link
Contributor

Closed by d939576

TheGreatRefrigerator added a commit that referenced this issue Aug 13, 2018
Only one input for each enpoint.
Custom endpoints now are saved and loaded from cookies.

refers to #243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants