Skip to content

Commit d31507d

Browse files
authored
Fix copy/paste error
1 parent 1ae4eeb commit d31507d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/libpthread.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ var LibraryPThread = {
442442
if (typeof pthreadMainJs != 'string') {
443443
pthreadMainJs = URL.createObjectURL(pthreadMainJs);
444444
}
445-
worker = new Worker(new URL('{{{ TARGET_JS_NAME }}}', import.meta.url), {{{ pthreadWorkerOptions }}});
445+
worker = new Worker(pthreadMainJs, {{{ pthreadWorkerOptions }}});
446446
} else
447447
#endif
448448
{

0 commit comments

Comments
 (0)