aboutsummaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
authorJieiku2024-08-08 19:56:58 -0700
committerJieiku2024-08-08 19:56:58 -0700
commit63e4ecdb9ac705153e54faca9edc98ad0077e5fc (patch)
treeed26048a4ab292ba850d7ed45506fdc20234141a /static/js
parentd5acabc16efa72a0a86d1c87d85ab2b63d9d7c7a (diff)
downloadabridge-63e4ecdb9ac705153e54faca9edc98ad0077e5fc.tar.gz
abridge-63e4ecdb9ac705153e54faca9edc98ad0077e5fc.tar.bz2
abridge-63e4ecdb9ac705153e54faca9edc98ad0077e5fc.zip
Handle Pagefind Intermediate Files
Diffstat (limited to 'static/js')
-rw-r--r--static/js/pagefind.index.cjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/pagefind.index.cjs b/static/js/pagefind.index.cjs
index 87e2607..c274efe 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, "pagefind-search.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);