How to Enable API Key on Local Version

Hi, I have had a look but can’t find documentation on how to force the use of API keys on my own hosted version of Graphhopper - is there something out there that can help me please?

Kind Regards,
James.

1 Like

You can setup your API key in config.js, here: graphhopper/config.js at edf87e626a61482b4f8ad1013353d98c7a485eca · graphhopper/graphhopper · GitHub

This doesn’t seem to work at all.

Could be related to: https://github.com/graphhopper/graphhopper/pull/3325
What local version did you try? The latest master branch or the stable release version 11? Try the latter.