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
Hi. A while back after packaging app assets didn't load on production so I fixed that issue by disabling standard privileges on app scheme (according to this answer: #1684 (comment)
Now I am trying to use a web worker (Webpack 5) and it works fine on development, but once I package the app I get an error: DOMException: Failed to construct 'Worker': Script at 'app://./js/worker.eb2c59e9.js' cannot be accessed from origin 'null'.
I then tried enabling { secure: true, standard: true } privileges back and Worker starts working in packaged app, but assets are not loading. Is there any way I could get Workers working on production without standard privileges on app scheme? Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Hi. A while back after packaging app assets didn't load on production so I fixed that issue by disabling
standard
privileges onapp
scheme (according to this answer: #1684 (comment)Now I am trying to use a web worker (Webpack 5) and it works fine on development, but once I package the app I get an error:
DOMException: Failed to construct 'Worker': Script at 'app://./js/worker.eb2c59e9.js' cannot be accessed from origin 'null'.
I then tried enabling
{ secure: true, standard: true }
privileges back and Worker starts working in packaged app, but assets are not loading. Is there any way I could get Workers working on production without standard privileges on app scheme? Any help would be appreciated.The text was updated successfully, but these errors were encountered: