mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
search.js: use the current v5.getbootstrap.com URL (#32099)
This commit is contained in:
parent
f091c0d1e0
commit
e347441f88
@ -42,7 +42,7 @@
|
||||
transformData: function (hits) {
|
||||
return hits.map(function (hit) {
|
||||
var currentUrl = getOrigin()
|
||||
var liveUrl = 'https://getbootstrap.com/'
|
||||
var liveUrl = 'https://v5.getbootstrap.com/'
|
||||
|
||||
hit.url = currentUrl.lastIndexOf(liveUrl, 0) === 0 ?
|
||||
// On production, return the result as is
|
||||
|
Loading…
x
Reference in New Issue
Block a user