From 963aaf60a3b0735a38e95ebcbf1cfe323bb0e973 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Wed, 7 Aug 2024 22:08:16 -0700 Subject: Cleanup --- static/js/pagefind.index.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js/pagefind.index.cjs') diff --git a/static/js/pagefind.index.cjs b/static/js/pagefind.index.cjs index 1fea6dc..87e2607 100644 --- a/static/js/pagefind.index.cjs +++ b/static/js/pagefind.index.cjs @@ -77,7 +77,7 @@ async function createIndex() { // now insert the CJS into the anonymous function within pagefind.search.js const pagefind_searchPath = path.join(__dirname, "pagefind.search.js");//file to insert into - const search_pagefindPath = path.join(__dirname, "search_pagefind.js");//output + const search_pagefindPath = path.join(__dirname, "pagefind-search.js");//output let pagefind_searchContent = fs.readFileSync(pagefind_searchPath, "utf8"); // Now insert into pagefind.search.js at this location: //insertHere pagefind_searchContent = pagefind_searchContent.replace(/\/\/insertHere/g, pagefindContent); -- cgit v1.3.1