Skip to content

Commit

Permalink
fix: worker loading path
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Oct 17, 2024
1 parent b8281a1 commit 00010d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// initialize a web worker for compression works.
// this is a persistent worker, will last for life of the app.
const compressionWorker = new Worker('/assets/packages/catalyst_compression_web/assets/js/catalyst_compression_worker.js');
const compressionWorker = new Worker(new URL('./catalyst_compression_worker.js', import.meta.url));

const processingIdsPool = new Set();

Expand Down

0 comments on commit 00010d0

Please sign in to comment.