aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/lib/ts/crc32.worker.ts2
-rw-r--r--app/vite.config.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/lib/ts/crc32.worker.ts b/app/src/lib/ts/crc32.worker.ts
index 0d04c7c..2edcc4f 100644
--- a/app/src/lib/ts/crc32.worker.ts
+++ b/app/src/lib/ts/crc32.worker.ts
@@ -3,6 +3,6 @@ import crc32 from 'crc/crc32';
onmessage = async (message: MessageEvent<File>) => {
const file = message.data;
const buffer = await file.arrayBuffer();
- const crc = crc32(buffer, 517762881);
+ const crc = crc32(buffer);
postMessage(crc);
};
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 00d8472..59d8f0d 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -33,7 +33,7 @@ export default defineConfig({
},
registerType: 'autoUpdate',
workbox: {
- globPatterns: ['**/*.{js,css,html,svg}'],
+ globPatterns: [ 'client/**/*.{js,css,html,svg}' ],
cleanupOutdatedCaches: true,
}
})