serve tiles without shard

This commit is contained in:
HF 2022-10-07 08:58:41 +02:00
parent 3f2bb8c530
commit d224c92eea

View File

@ -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));