File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -682,6 +682,7 @@ pub static INDEX: &str = r#"
682682<ul>
683683 <li><a href="/agenda/lang/triage">T-lang triage agenda</a></li>
684684 <li><a href="/agenda/lang/planning">T-lang planning agenda</a></li>
685+ <li><a href="/agenda/types/planning">T-types planning agenda</a></li>
685686</ul>
686687</body>
687688</html>
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ async fn handle_agenda_request(req: String) -> anyhow::Result<String> {
2121 if req == "/agenda/lang/planning" {
2222 return triagebot:: agenda:: lang_planning ( ) . call ( ) . await ;
2323 }
24+ if req == "/agenda/types/planning" {
25+ return triagebot:: agenda:: types_planning ( ) . call ( ) . await ;
26+ }
2427
2528 anyhow:: bail!( "Unknown agenda; see /agenda for index." )
2629}
@@ -53,7 +56,10 @@ async fn serve_req(
5356 . body ( Body :: from ( triagebot:: agenda:: INDEX ) )
5457 . unwrap ( ) ) ;
5558 }
56- if req. uri . path ( ) == "/agenda/lang/triage" || req. uri . path ( ) == "/agenda/lang/planning" {
59+ if req. uri . path ( ) == "/agenda/lang/triage"
60+ || req. uri . path ( ) == "/agenda/lang/planning"
61+ || req. uri . path ( ) == "/agenda/types/planning"
62+ {
5763 match agenda
5864 . ready ( )
5965 . await
You can’t perform that action at this time.
0 commit comments