mirror of https://github.com/twbs/bootstrap.git
Fix search redirect
This commit is contained in:
parent
620257456e
commit
c890d9a46b
|
|
@ -31,7 +31,7 @@
|
||||||
inputSelector: '#search-input',
|
inputSelector: '#search-input',
|
||||||
transformData: function (hits) {
|
transformData: function (hits) {
|
||||||
return hits.map(function (hit) {
|
return hits.map(function (hit) {
|
||||||
hit.url = hit.url.replace('https://v4-alpha.getbootstrap.com', 'http://localhost:9001/docs/4.0');
|
hit.url = hit.url.replace('https://v4-alpha.getbootstrap.com', '/docs/4.0');
|
||||||
return hit;
|
return hit;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue