no decompress in martin call
This commit is contained in:
parent
f001d1df97
commit
885e40d2a2
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ impl MartinService {
|
||||||
Self {
|
Self {
|
||||||
client: reqwest::Client::builder()
|
client: reqwest::Client::builder()
|
||||||
.timeout(std::time::Duration::from_secs(10))
|
.timeout(std::time::Duration::from_secs(10))
|
||||||
|
.no_gzip() // Don't decompress; vector_map_tiles expects gzip-compressed MVT
|
||||||
.build()
|
.build()
|
||||||
.expect("Failed to build HTTP client"),
|
.expect("Failed to build HTTP client"),
|
||||||
base_url: config.martin_url.clone(),
|
base_url: config.martin_url.clone(),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue