Start API without web-interface

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

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

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

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

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

Any pointers on how to disable the web UI in version 4.0? I would prefer a method that does not require source code changes.