aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-09 20:39:56 +0200
committerGitHub <[email protected]>2020-11-09 20:39:56 +0200
commite347441f8834636bb7bf10c8078689ccc4308756 (patch)
tree0aeade66357e6db111a72fa3aaed7f65deb79669
parentf091c0d1e02f2a203828418455ad1d92fc60b36c (diff)
downloadbootstrap-e347441f8834636bb7bf10c8078689ccc4308756.tar.xz
bootstrap-e347441f8834636bb7bf10c8078689ccc4308756.zip
search.js: use the current v5.getbootstrap.com URL (#32099)
-rw-r--r--site/assets/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/assets/js/search.js b/site/assets/js/search.js
index 823dcb10a..2cf4c8787 100644
--- a/site/assets/js/search.js
+++ b/site/assets/js/search.js
@@ -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