Browse Source

fix(attribution): Use correct path for attribution endpoint

pull/1149/head
Julian Simioni 6 years ago
parent
commit
bb860b815d
No known key found for this signature in database
GPG Key ID: B9EEB0C6EE0910A1
  1. 2
      middleware/geocodeJSON.js

2
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

Loading…
Cancel
Save