From 9f57d301f2fef7fe5715abb8474a57c9ae697b45 Mon Sep 17 00:00:00 2001 From: Erin Rivas Date: Wed, 14 Feb 2024 03:31:37 -0600 Subject: [PATCH] no more .html --- src/store/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/main.ts b/src/store/main.ts index c357068..a02f5a2 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -166,7 +166,9 @@ class BStore implements IBStore { const final = {} const children = folder.getChildFiles() for (const name in children) { - final[name] = children[name].lastModified + const children = folder.getChildFiles() + const trunked = name.replace(/\.html$/, '') + final[trunked] = children[name].lastModified } await this.globalFileIo.shuffle()