diff --git a/src/ui/ChunkLoader2D.js b/src/ui/ChunkLoader2D.js index 00fd0da..221472d 100644 --- a/src/ui/ChunkLoader2D.js +++ b/src/ui/ChunkLoader2D.js @@ -305,7 +305,7 @@ class ChunkLoader { this.store.dispatch(requestBigChunk(center)); try { // eslint-disable-next-line max-len - const url = `${shardOrigin}/tiles/${this.canvasId}/${zoom}/${cx}/${cy}.webp`; + const url = `/tiles/${this.canvasId}/${zoom}/${cx}/${cy}.webp`; const img = await loadImage(url); chunkRGB.fromImage(img); this.store.dispatch(receiveBigChunk(center));