http: Change `/api/v1/node` version to node user agent
modified radicle-httpd/src/api/v1/node.rs
@@ -7,12 +7,13 @@ use hyper::StatusCode;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,6 +36,10 @@ pub fn router(ctx: Context) -> Router {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -49,7 +54,7 @@ async fn node_handler(State(ctx): State<Context>) -> impl IntoResponse {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|