Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

Fix serving viewer with a path deeper than the origin #679

Closed PaulHax closed 1 year ago

PaulHax commented 1 year ago

Stops using webpack worker loader which was configured to build workers as blobs.

Blobs' self.location or __webpack_public_path__ is not like the document path (index.html). If the viewer is served off the origin, with a path (ie localhost:8080/some/path/) then the itk-wasm path would not include the path, just the origin.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 14.40.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: