Skip to content

Commit e580e28

Browse files
authored
Update build_index.js
1 parent c6e831a commit e580e28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_libs/lunr/build_index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var cheerio = require("cheerio");
55

66

77
// Change these constants to suit your needs
8-
const HTML_FOLDER = "../../__site"; // folder with your HTML files
8+
const HTML_FOLDER = "../../__site/"; // folder with your HTML files
99
// Valid search fields: "title", "description", "keywords", "body"
1010
const SEARCH_FIELDS = ["description", "keywords", "body"];
1111
const EXCLUDE_FILES = ["search.html", "404.html"];
@@ -122,4 +122,4 @@ function main() {
122122
});
123123
}
124124

125-
main();
125+
main();

0 commit comments

Comments
 (0)