http: Display simple info page on /

This commit is contained in:
Dawid Ciężarkiewicz
2024-08-08 11:50:51 +02:00
committed by Rūdolfs Ošiņš
parent 06fa429ea3
commit 5444875e71
2 changed files with 45 additions and 2 deletions
+5
View File
@@ -45,6 +45,11 @@ async fn root_handler(State(ctx): State<Context>) -> impl IntoResponse {
"rel": "node",
"type": "GET"
},
{
"href": "/nodes/:nid",
"rel": "node",
"type": "GET"
},
{
"href": "/delegates/:did/projects",
"rel": "projects",