[GraphHopper] Url configuration
Peter K
peathal at yahoo.de
Sat Nov 30 12:25:35 UTC 2013
Hi Rodolphe,
you'll have to change the default behaviour in main.js and overwrite
'host':
https://github.com/graphhopper/graphhopper/blob/700f1079e585eab093e511954abeecb7cd4aff13/web/src/main/webapp/js/main.js#L8
Another possibility would be to say to jetty that it should deploy
graphhopper to the root context. (but I do not remember how to do that)
Regards,
Peter.
> Hi,
>
> Thanks to Peter K,I'm running GraphHopper under jetty instead of jetty
> runner, I still have a problem to fix.
>
> Under jetty GraphHopper is accessible at
> http://localhost/graphhopper-web-2.0: with is fine for me, I'm using
> haproxy as frontend, but even is the home page of GH is display at
>
> http://fqdn/graphhopper-web-2.0/ the API calls are done at fqdn/api/
> and not at fqdn/graphhopper-web-2.0/api/
>
> I'm sure there is a way to configure that, but after looking on wiki and
> all docs I've found I did not found the right parameters to do that.
>
> Any help greatly appreciate
>
> Regards,
>
More information about the GraphHopper
mailing list