X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0aa28e47e87fc78e152de7f1750e97ccf260c595..f4d0d764b1f1506374849a304bd7322fa3547741:/dist/config.defaults.js diff --git a/dist/config.defaults.js b/dist/config.defaults.js index 1ab8bd9..5846e92 100644 --- a/dist/config.defaults.js +++ b/dist/config.defaults.js @@ -5,6 +5,12 @@ let Nominatim_Config = { // Where Nominatim API runs. Remember to add port if needed and trailing slash. Nominatim_API_Endpoint: 'http://localhost/nominatim/', + // Alternatively provide a function callback + // Nominatim_API_Endpoint: function (endpoint) { + // var url = 'http://localhost/nominatim/'; + // if (endpoint) { url += endpoint + '.php' }; + // return url; + // } // Additional request headers for Nominatim API. Nominatim_API_Endpoint_Headers: {},