Graphhopper jar only for API use

I would like to build a jar only exposing the API without the map index page.

I see that a web-api module exists but I can’t run this jar on my server.
How can I achieve this ?

You could try commenting out this line:

bootstrap.addBundle(new AssetsBundle(“/com/graphhopper/maps/”, “/maps/”, “index.html”));

in GraphHopperApplication.java

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.