diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 14:12:31 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 14:18:05 -0500 |
commit | af6497fc6ad1d538510b4824c35b469beadaba14 (patch) | |
tree | b1363a65e358260e956f84d255151527ab6591b7 /app | |
parent | Here goes nothing! (diff) | |
download | trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar.gz trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar.bz2 trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar.lz trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar.xz trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.tar.zst trinkets-af6497fc6ad1d538510b4824c35b469beadaba14.zip |
Don't cache the server files!!!
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app')
-rw-r--r-- | app/src/lib/ts/crc32.worker.ts | 2 | ||||
-rw-r--r-- | app/vite.config.ts | 2 |
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, } }) |