diff options
author | 2025-04-15 21:32:23 +0200 | |
---|---|---|
committer | 2025-04-15 21:32:23 +0200 | |
commit | f7c38803f81b5d5885488422c2198e82b42aa234 (patch) | |
tree | a3d277878d7a617ff6de232f49037f3f0fd5098c | |
parent | 294d634601bdd71f056101c64e00d7a5a7fc5ae2 (diff) | |
download | gitolfs3-f7c38803f81b5d5885488422c2198e82b42aa234.tar.gz gitolfs3-f7c38803f81b5d5885488422c2198e82b42aa234.zip |
-rw-r--r-- | gitolfs3-server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitolfs3-server/src/main.rs b/gitolfs3-server/src/main.rs index 0067996..c88de76 100644 --- a/gitolfs3-server/src/main.rs +++ b/gitolfs3-server/src/main.rs | |||
@@ -41,7 +41,7 @@ async fn main() -> ExitCode { | |||
41 | }); | 41 | }); |
42 | let app = Router::new() | 42 | let app = Router::new() |
43 | .route("/batch", post(handle_batch)) | 43 | .route("/batch", post(handle_batch)) |
44 | .route("/:oid0/:oid1/:oid", get(handle_obj_download)) | 44 | .route("/{oid0}/{oid1}/{oid}", get(handle_obj_download)) |
45 | .with_state(shared_state); | 45 | .with_state(shared_state); |
46 | 46 | ||
47 | let middleware = axum::middleware::map_request(rewrite_url); | 47 | let middleware = axum::middleware::map_request(rewrite_url); |