File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ ahash = "0.8.11"
1212anyhow = " 1.0.93"
1313arc-swap = " 1.7.1"
1414async-trait = " 0.1.83"
15- axum = " 0.7.9 "
15+ axum = " 0.8.1 "
1616backoff = { version = " 0.4.0" , features = [" tokio" ] }
1717base64 = " 0.22.1"
1818bytes = " 1.9.0"
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ mod tests {
614614 let cache = Arc :: new ( Cache :: new ( opts, KeyExtractorTest , & Registry :: default ( ) ) . unwrap ( ) ) ;
615615
616616 let mut app = Router :: new ( )
617- . route ( "/: key" , get ( handler) )
617+ . route ( "/{ key} " , get ( handler) )
618618 . layer ( from_fn_with_state ( Arc :: clone ( & cache) , middleware) ) ;
619619
620620 // First request doesn't hit the cache, but is stored in the cache
@@ -727,7 +727,7 @@ mod tests {
727727 let cache = Arc :: new ( Cache :: new ( opts, KeyExtractorTest , & Registry :: default ( ) ) . unwrap ( ) ) ;
728728
729729 let app = Router :: new ( )
730- . route ( "/: key" , get ( handler_proxy_cache_lock) )
730+ . route ( "/{ key} " , get ( handler_proxy_cache_lock) )
731731 . layer ( from_fn_with_state ( Arc :: clone ( & cache) , middleware) ) ;
732732
733733 let req_count = 50 ;
You can’t perform that action at this time.
0 commit comments