mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-28 02:00:23 +00:00
Fix search redirect
This commit is contained in:
parent
620257456e
commit
c890d9a46b
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
inputSelector: '#search-input',
|
||||
transformData: function (hits) {
|
||||
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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue