@@ -14,7 +14,7 @@ use axum_extra::routing::RouterExt;
1414use std:: convert:: Infallible ;
1515use tracing:: { debug, instrument} ;
1616
17- const INTERNAL_PREFIXES : & [ & str ] = & [ "-" , " about", "crate" , "releases" , "sitemap.xml" ] ;
17+ const INTERNAL_PREFIXES : & [ & str ] = & [ "about" , "crate" , "releases" , "sitemap.xml" ] ;
1818
1919#[ instrument( skip_all) ]
2020pub ( 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 {
237237 get_internal ( super :: source:: source_browser_handler) ,
238238 )
239239 . route (
240- "/menus/platforms/:name/:version/:target" ,
240+ "/-/ menus/platforms/:name/:version/:target" ,
241241 get_internal ( super :: crate_details:: get_all_platforms) ,
242242 )
243243 . route (
244- "/menus/platforms/:name/:version/:target/" ,
244+ "/-/ menus/platforms/:name/:version/:target/" ,
245245 get_internal ( super :: crate_details:: get_all_platforms) ,
246246 )
247247 . route (
248- "/menus/platforms/:name/:version/:target/*path" ,
248+ "/-/ menus/platforms/:name/:version/:target/*path" ,
249249 get_internal ( super :: crate_details:: get_all_platforms) ,
250250 )
251251 . route (
252- "/menus/releases/:name" ,
252+ "/-/ menus/releases/:name" ,
253253 get_internal ( super :: crate_details:: get_all_releases) ,
254254 )
255255 . route (
0 commit comments