mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-02 12:30:23 +00:00
search.js: use the current v5.getbootstrap.com URL (#32099)
This commit is contained in:
parent
f091c0d1e0
commit
e347441f88
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue