From bb860b815df49c07f366c2bde0a46bc0baf95ab0 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Fri, 25 May 2018 14:43:27 -0400 Subject: [PATCH] fix(attribution): Use correct path for attribution endpoint --- middleware/geocodeJSON.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/geocodeJSON.js b/middleware/geocodeJSON.js index 6c78d4a3..60c74f68 100644 --- a/middleware/geocodeJSON.js +++ b/middleware/geocodeJSON.js @@ -50,7 +50,7 @@ function convertToGeocodeJSON(req, res, next, opts) { res.body.geocoding.attribution = opts.config.attributionURL || url.format({ protocol: req.protocol, host: req.get('host'), - pathname: opts.basePath + 'attribution' + pathname: 'attribution' }); // OPTIONAL. Default: null. The query that has been issued to trigger the