@@ -180,18 +180,6 @@ pub(super) fn build_axum_routes() -> AxumRouter {
180180 "/crate/:name" ,
181181 get_internal ( super :: crate_details:: crate_details_handler) ,
182182 )
183- . route (
184- "/platforms/:name/:version/:target/" ,
185- get_internal ( super :: crate_details:: get_all_platforms) ,
186- )
187- . route (
188- "/platforms/:name/:version/:target/*path" ,
189- get_internal ( super :: crate_details:: get_all_platforms) ,
190- )
191- . route (
192- "/releases/list/:name" ,
193- get_internal ( super :: crate_details:: get_all_releases) ,
194- )
195183 . route_with_tsr (
196184 "/crate/:name/:version" ,
197185 get_internal ( super :: crate_details:: crate_details_handler) ,
@@ -248,6 +236,22 @@ pub(super) fn build_axum_routes() -> AxumRouter {
248236 "/crate/:name/:version/source/*path" ,
249237 get_internal ( super :: source:: source_browser_handler) ,
250238 )
239+ . route (
240+ "/menus/platforms/:name/:version/:target" ,
241+ get_internal ( super :: crate_details:: get_all_platforms) ,
242+ )
243+ . route (
244+ "/menus/platforms/:name/:version/:target/" ,
245+ get_internal ( super :: crate_details:: get_all_platforms) ,
246+ )
247+ . route (
248+ "/menus/platforms/:name/:version/:target/*path" ,
249+ get_internal ( super :: crate_details:: get_all_platforms) ,
250+ )
251+ . route (
252+ "/menus/releases/:name" ,
253+ get_internal ( super :: crate_details:: get_all_releases) ,
254+ )
251255 . route (
252256 "/-/rustdoc.static/*path" ,
253257 get_internal ( super :: rustdoc:: static_asset_handler) ,
0 commit comments