This commit is contained in:
acalcutt 2025-03-16 14:46:34 -04:00
parent 0059b3278e
commit c8d642195b

View file

@ -115,8 +115,8 @@ export const serve_data = {
let isGzipped = data.slice(0, 2).indexOf(Buffer.from([0x1f, 0x8b])) === 0;
if (isGzipped) {
data = await gunzipP(data);
isGzipped = false;
data = await gunzipP(data);
isGzipped = false;
}
if (tileJSONFormat === 'pbf') {