search index rollback

This commit is contained in:
zzossig 2020-02-06 03:56:15 +09:00
parent 425cbb5781
commit d388f182bd
1 changed files with 4 additions and 0 deletions

View File

@ -598,6 +598,10 @@
var fuse = null;
function endsWith(str, suffix) {
return str.indexOf(suffix, str.length - suffix.length) !== -1;
}
function initFuse() {
if (!endsWith(baseurl, "/")) {
baseurl = baseurl + '/';