3: core::option::Option<T>::unwrap
at /build/rustc-1.68.2-src/library/core/src/option.rs:823:21
4: <tide::fs::serve_dir::ServeDir as tide::endpoint::Endpoint<State>>::call::{{closure}}
at /home/sijmen/.cargo/registry/src/github.com-1ecc6299db9ec823/tide-0.16.0/src/fs/serve_dir.rs:30:20
Maybe replacing that unwrap with something more graceful is a good idea too?
According to the example, the route should be
/src/*
but this returns a 404 when going to e.g. http://localhost:8080/dir/Cargo.toml, and even a panic when going to http://localhost:8080/dir/dir/Cargo.toml:Maybe replacing that
unwrap
with something more graceful is a good idea too?