no decompress in backend
This commit is contained in:
parent
6711aad7d7
commit
f001d1df97
1 changed files with 0 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue