mirror of
https://github.com/maplibre/martin.git
synced 2024-12-21 05:41:55 +03:00
3fcad46500
Compression middleware turned out to be hard to use for image cases - it simply looks at the content-encoding, and if not set, tries to compress if accepted by the client. Instead, now individual routes are configured with either that middleware, or for tiles, I decompress and optionally recompress if applicable. Now encoding is tracked separately from the tile content, making it cleaner too. Plus lots of tests for mbtiles & pmtiles. Fixes #577 |
||
---|---|---|
.. | ||
mod.rs | ||
pg_utils.rs |