diff --git a/Cargo.lock b/Cargo.lock index 6d2fcd2..e11bf1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -995,9 +995,9 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7755f984aa46a9d50829dc84b6a674b2f3b8b4de47c0708923953b090d48acc" +checksum = "79dd37121c38240c4b4fe6520332406218bbf876f2f690fe9e406020189366fd" dependencies = [ "base64", "bitflags", diff --git a/Cargo.toml b/Cargo.toml index eb5b457..9a93848 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ hyper = { version = "0.14.18" } tokio = { version = "1.18.0", features = ["full"] } tracing = "0.1.34" tracing-subscriber = {version = "0.3.11", features = ["env-filter"] } -tower-http = { version = "0.3.1", features = ["fs", "trace", "auth"] } +tower-http = { version = "0.3.0", features = ["fs", "trace", "auth"] } tar = "0.4.38" flate2 = "1.0.23" tokio-util = { version = "0.7.1", features = ["io"] } diff --git a/src/main.rs b/src/main.rs index 423c0bd..62074d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ async fn main() { // Each static site gets mounted explicitely so that the default site can be used as fallback // Each entry is of the form (route, static dir name) - let sites = [("/docs", "docs"), ("/api-docs/vieter", "api-docs-vieter")]; + let sites = [("/docs", "docs")]; for (path, dir) in sites { let full_path = format!("{}/{}", static_dir, dir);