From b28053ec308da0522b56971a7efe3daf26afae25 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 27 Sep 2023 10:22:03 -0500 Subject: Upgrade deps Signed-off-by: Matt Strapp --- app/src/routes/crc32/+page.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/src/routes/crc32') diff --git a/app/src/routes/crc32/+page.svelte b/app/src/routes/crc32/+page.svelte index 86b614d..b88e52e 100644 --- a/app/src/routes/crc32/+page.svelte +++ b/app/src/routes/crc32/+page.svelte @@ -14,7 +14,7 @@ } onMount(async () => { - worker = new (await import('$lib/ts/crc32.worker?worker')).default(); + worker = new Worker(new URL('$lib/ts/crc32.worker.ts', import.meta.url), { type: 'module' }); worker.onmessage = (e: MessageEvent) => { disableInput = false; console.log(e.data); @@ -42,9 +42,9 @@
{#if disableInput}

Calculating the checksum, this may take time!


-- cgit v1.2.3