1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 16:14:04 +02:00

search.js: use the current v5.getbootstrap.com URL (#32099)

This commit is contained in:
XhmikosR
2020-11-09 20:39:56 +02:00
committed by GitHub
parent f091c0d1e0
commit e347441f88

View File

@@ -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