]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
search.js: use the current v5.getbootstrap.com URL (#32099)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 9 Nov 2020 18:39:56 +0000 (20:39 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Nov 2020 18:39:56 +0000 (20:39 +0200)
site/assets/js/search.js

index 823dcb10a76e358df20b57a80cb475e6f2912858..2cf4c87878e1bbc170d9ea20b3851d51023fb290 100644 (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