GraphHopper.com | Forum | GitHub | Maps | Blog

Start API without web-interface


#1

We are using graphhopper via the API only and it would be super cool to disable the web UI. Is there any build-in way to do that?

Cheers, Georg


#2

Hi Georg,

have a look at GHServer#start. There you will find the setup to server the index.html. I never tried this, but I would assume that you could change/delete some lines here. Also you could also delete the content of the webapp folder and insert your own index.html instead.

Best,
Robin


#3

Perfekt… I just deleted the content of index.html… thx!


#4

A potentially simpler solution is to change the config from its current default:

jetty.resourcebase=./web/src/main/webapp