From 30eea910f8049509112f511f8d49e31d73e2b402 Mon Sep 17 00:00:00 2001 From: mcpower Date: Fri, 27 Feb 2026 23:28:17 +1100 Subject: [PATCH] Update tile URLs from 2026-02-27 update This fixes the overlay not rendering since the aforementioned update. --- src/core/overlay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/overlay.ts b/src/core/overlay.ts index 7fd740a..de6bc6f 100644 --- a/src/core/overlay.ts +++ b/src/core/overlay.ts @@ -74,7 +74,7 @@ export function extractPixelCoords(pixelUrl: string) { export function matchTileUrl(urlStr: string) { try { const u = new URL(urlStr, location.href); - if (u.hostname !== 'backend.wplace.live' || !u.pathname.startsWith('/files/')) return null; + if (u.hostname !== 'backend.wplace.live' || !u.pathname.startsWith('/tile/')) return null; const m = u.pathname.match(/\/(\d+)\/(\d+)\.png$/i); if (!m) return null; return { chunk1: parseInt(m[1], 10), chunk2: parseInt(m[2], 10) };