mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Fixed broken search result links
This commit is contained in:
parent
2d7e9341f7
commit
679aa64310
@ -295,7 +295,7 @@ function initialize(config) { // eslint-disable-line func-style
|
|||||||
}).then(response => response.json())
|
}).then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
return data.docs.map(doc => {
|
return data.docs.map(doc => {
|
||||||
doc.location = config.url.base + doc.location
|
doc.location = `${config.url.base}/${doc.location}`
|
||||||
return doc
|
return doc
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user