From 441efc81a9683c9b855c755f1e6805a3c04c70ad Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 19:30:22 +0100 Subject: [PATCH] wip #5120 @0.25 --- resources/js/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/js/index.js b/resources/js/index.js index 1d8b607..0ebdf18 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -15,8 +15,7 @@ fs.readFile(file, 'utf8', (err, data) => { } let miniSearch = new MiniSearch({ fields: fields, storeFields: storeFields, prefix: prefix == '1', fuzzy: parseFloat(fuzzy) - }); miniSearch.addAll(JSON.parse(data)); console.log(JSON.stringify(miniSearch)); -}) \ No newline at end of file +}); \ No newline at end of file -- 2.39.5