websites: update service worker

This commit is contained in:
nym21
2025-06-08 13:03:37 +02:00
parent 440a82dee4
commit 165ea83ac3
9 changed files with 90 additions and 86 deletions

View File

@@ -2189,8 +2189,10 @@ function main() {
createKeyDownEventListener();
packages.signals().then((signals) =>
vecidToIndexesPromise.then(({ createVecIdToIndexes }) =>
vecidToIndexesPromise.then(({ createVecIdToIndexes, VERSION }) =>
optionsPromise.then(async ({ initOptions }) => {
console.log(`VERSION = ${VERSION}`);
const vecIdToIndexes = createVecIdToIndexes();
if (env.localhost) {