fix(epg): update worker URL handling for packaged apps

This commit is contained in:
4gray committed 2025-11-24 15:53:10 +00:00
1 parent 1b4954e20b
commit 682b040aec
1 file changed
+2 -2
@@ -113,8 +113,8 @@ export default class EpgEvents {
let worker: Worker;
try {
// Worker threads require file:// URLs in packaged apps
const workerURL = pathToFileURL(workerPath).href;
// Worker threads require file:// URLs wrapped in URL object for packaged apps
const workerURL = pathToFileURL(workerPath);
worker = new Worker(workerURL);
console.log(this.loggerLabel, 'Worker created successfully');
} catch (error) {