Fixed broken search result links

This commit is contained in:
Waldinar Oliveira Neto 2018-08-05 16:41:19 -03:00 committed by Martin Donath
parent 2d7e9341f7
commit 679aa64310

View File

@ -295,7 +295,7 @@ function initialize(config) { // eslint-disable-line func-style
}).then(response => response.json())
.then(data => {
return data.docs.map(doc => {
doc.location = config.url.base + doc.location
doc.location = `${config.url.base}/${doc.location}`
return doc
})
})