diff options
author | metamuffin <metamuffin@disroot.org> | 2022-10-17 22:57:16 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-10-17 22:57:16 +0200 |
commit | ac18ff17a98236ace91ce7fd17e24a4756f3afdd (patch) | |
tree | 698d718202ee6eed7190bac0a0f20fc60aaaa8ab /src/viewer | |
parent | 3baa2e9cb8f00be594fb90a74acc9972e3477c72 (diff) | |
download | trash-map-master.tar trash-map-master.tar.bz2 trash-map-master.tar.zst |
Diffstat (limited to 'src/viewer')
-rw-r--r-- | src/viewer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewer/mod.rs b/src/viewer/mod.rs index a411c29..f898c30 100644 --- a/src/viewer/mod.rs +++ b/src/viewer/mod.rs @@ -18,7 +18,7 @@ pub fn serve_http(dimension: Dimension, bind: SocketAddr) { .and(tiler.clone()) .and_then(|z, x, y, tiler: Arc<Tiler>| async move { Ok::<_, Infallible>(warp::reply::with_header( - tiler.get_tile(z, x, y), + tiler.get_tile(z, x, y), // TODO consider using tokio::spawn_blocking so we dont block the event loop "content-type", "image/png", )) |