no decompress in backend

This commit is contained in:
Shautvast 2026-03-31 11:02:18 +02:00
parent 6711aad7d7
commit f001d1df97

View file

@ -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 {