lint fix
This commit is contained in:
parent
0059b3278e
commit
c8d642195b
1 changed files with 3 additions and 3 deletions
|
@ -115,8 +115,8 @@ export const serve_data = {
|
||||||
let isGzipped = data.slice(0, 2).indexOf(Buffer.from([0x1f, 0x8b])) === 0;
|
let isGzipped = data.slice(0, 2).indexOf(Buffer.from([0x1f, 0x8b])) === 0;
|
||||||
|
|
||||||
if (isGzipped) {
|
if (isGzipped) {
|
||||||
data = await gunzipP(data);
|
data = await gunzipP(data);
|
||||||
isGzipped = false;
|
isGzipped = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tileJSONFormat === 'pbf') {
|
if (tileJSONFormat === 'pbf') {
|
||||||
|
|
Loading…
Reference in a new issue