You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(worker): prevent CORS error by checking environment before importing node:worker_threads
Only attempt to import node:worker_threads when in Node.js environment (typeof self === 'undefined').
In browser environments, skip the import entirely to avoid CORS policy violations.
Co-authored-by: kalwalt <[email protected]>
0 commit comments