Random Mesh
How to change base directory
If it's a vite project, you can go
base: ""
in your vite.config.ts, then everything will be relative path. If your trying to fetch in a web worker, you may have to use postMessage to pass path information from the main UI thread. Because no window object in worker thread.9 replies