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
Say we have wrapped a "schematic renderer" component and use it in our project. Typically this component will be used under the path like domain/foo/bar/:id, and pviewer will request worker.js at domain/foo/bar/worker.js not domain/worker.js
Not only worker.js, JSON files of blockStates, etc, have the same problem.
The text was updated successfully, but these errors were encountered:
This line
https://github.com/PrismarineJS/prismarine-viewer/blob/master/viewer/lib/worldrenderer.js#L22
decides pviewer to load woker.js relative to present path of where pviewer is used.
Say we have wrapped a "schematic renderer" component and use it in our project. Typically this component will be used under the path like domain/foo/bar/:id, and pviewer will request worker.js at domain/foo/bar/worker.js not domain/worker.js
Not only worker.js, JSON files of blockStates, etc, have the same problem.
The text was updated successfully, but these errors were encountered: