mirror of https://github.com/pelias/api.git
Browse Source
For when we have multiple active API versions, we have code to redirect from one running API server to another. Right now, we've disabled the beta/legacy API server and haven't released a V2 yet, so we currently have no proxying configured. Right now the default with no configuration is to simply return an error. However that means that request to http://search.mapzen.com/ return that unfriendly error. We have a nice friendly /v1 page, so in the case of no proxy being set up, it makes sense to redirect to that.pull/555/head
Julian Simioni
9 years ago
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue