From 552c3df858cdc4ac44a66c8a788bf9241b716315 Mon Sep 17 00:00:00 2001 From: scosman Date: Sun, 28 Jul 2024 18:18:03 -0400 Subject: [PATCH] Set index build time --- src/lib/build_index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/build_index.ts b/src/lib/build_index.ts index a0be791d..7a2484db 100644 --- a/src/lib/build_index.ts +++ b/src/lib/build_index.ts @@ -53,7 +53,7 @@ export async function buildSearchIndex() { const index = Fuse.createIndex(["title", "description", "body"], indexData) const jsonIndex = index.toJSON() - const data = { index: jsonIndex, indexData, buildMode: "build-time-compiled" } + const data = { index: jsonIndex, indexData, buildTime: Date.now() } return data }