After #679 Worker scripts were not bundled as blobs. So if itkVtkViewer.js is served on a different origin than the document, fetching of worker script failed due to browser security limitation. This affected the CDN bundle and dev setups.
To fix worker blobs not having full URL path which #679 addressed, pass in the itkConfig from the main thread to the worker scope so it has the full URL path.
After #679 Worker scripts were not bundled as blobs. So if itkVtkViewer.js is served on a different origin than the document, fetching of worker script failed due to browser security limitation. This affected the CDN bundle and dev setups.
To fix worker blobs not having full URL path which #679 addressed, pass in the itkConfig from the main thread to the worker scope so it has the full URL path.