0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fix search redirect

This commit is contained in:
Maxime Locqueville 2017-06-01 08:11:06 +02:00 committed by Mark Otto
parent 620257456e
commit c890d9a46b

View File

@ -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;
});
},