From f001d1df9739a86333b778f8fab68f263f8af6b5 Mon Sep 17 00:00:00 2001 From: Shautvast Date: Tue, 31 Mar 2026 11:02:18 +0200 Subject: [PATCH] no decompress in backend --- backend/src/routes/tiles.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/routes/tiles.rs b/backend/src/routes/tiles.rs index 5937c2c..d2fcac9 100644 --- a/backend/src/routes/tiles.rs +++ b/backend/src/routes/tiles.rs @@ -62,7 +62,6 @@ pub async fn get_tile( tracing::debug!("Tile cache hit"); return Ok(HttpResponse::Ok() .content_type("application/x-protobuf") - .insert_header(("Content-Encoding", "gzip")) .insert_header(("Cache-Control", "public, max-age=86400")) .body(cached)); } @@ -75,7 +74,6 @@ pub async fn get_tile( let mut resp = HttpResponse::Ok(); resp.content_type("application/x-protobuf") - .insert_header(("Content-Encoding", "gzip")) .insert_header(("Cache-Control", "public, max-age=86400")); if let Some(etag) = etag {