Skip to content

Commit

Permalink
Set index build time
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Jul 28, 2024
1 parent 79cb870 commit 552c3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/build_index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 552c3df

Please sign in to comment.