From d224c92eeaf3247c251a89b4b6fb8ae71f3a487b Mon Sep 17 00:00:00 2001 From: HF Date: Fri, 7 Oct 2022 08:58:41 +0200 Subject: [PATCH] serve tiles without shard --- src/ui/ChunkLoader2D.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ChunkLoader2D.js b/src/ui/ChunkLoader2D.js index 00fd0da1..221472de 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));