fix: remove redundant change to headers

This commit is contained in:
RJ Johnston 2025-02-27 12:35:36 -05:00 committed by Andrew Calcutt
parent 5aa001b9fc
commit 9f16d77a5a

View file

@ -117,8 +117,7 @@ export const serve_data = {
if (isGzipped) { if (isGzipped) {
data = await gunzipP(data); data = await gunzipP(data);
isGzipped = false; isGzipped = false;
} }
delete headers['Content-Encoding'];
if (tileJSONFormat === 'pbf') { if (tileJSONFormat === 'pbf') {
if (options.dataDecoratorFunc) { if (options.dataDecoratorFunc) {