@@ -14,7 +14,7 @@ use axum_extra::routing::RouterExt;
14
14
use std:: convert:: Infallible ;
15
15
use tracing:: { debug, instrument} ;
16
16
17
- const INTERNAL_PREFIXES : & [ & str ] = & [ "-" , " about", "crate" , "releases" , "sitemap.xml" ] ;
17
+ const INTERNAL_PREFIXES : & [ & str ] = & [ "about" , "crate" , "releases" , "sitemap.xml" ] ;
18
18
19
19
#[ instrument( skip_all) ]
20
20
pub ( crate ) fn get_static < H , T , S , B > ( handler : H ) -> MethodRouter < S , B , Infallible >
@@ -237,19 +237,19 @@ pub(super) fn build_axum_routes() -> AxumRouter {
237
237
get_internal ( super :: source:: source_browser_handler) ,
238
238
)
239
239
. route (
240
- "/menus/platforms/:name/:version/:target" ,
240
+ "/-/ menus/platforms/:name/:version/:target" ,
241
241
get_internal ( super :: crate_details:: get_all_platforms) ,
242
242
)
243
243
. route (
244
- "/menus/platforms/:name/:version/:target/" ,
244
+ "/-/ menus/platforms/:name/:version/:target/" ,
245
245
get_internal ( super :: crate_details:: get_all_platforms) ,
246
246
)
247
247
. route (
248
- "/menus/platforms/:name/:version/:target/*path" ,
248
+ "/-/ menus/platforms/:name/:version/:target/*path" ,
249
249
get_internal ( super :: crate_details:: get_all_platforms) ,
250
250
)
251
251
. route (
252
- "/menus/releases/:name" ,
252
+ "/-/ menus/releases/:name" ,
253
253
get_internal ( super :: crate_details:: get_all_releases) ,
254
254
)
255
255
. route (
0 commit comments