mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +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(data => {
|
||||
return data.docs.map(doc => {
|
||||
doc.location = config.url.base + doc.location
|
||||
doc.location = `${config.url.base}/${doc.location}`
|
||||
return doc
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user