feat: incorporated improvements from NIP-11 discussion

Change descr to description.  Add `id` for websocket URL.  Use
integers for supported NIPs instead of strings.  Top-level is object,
instead of the array before.
This commit is contained in:
Greg Heartsfield
2022-01-03 22:03:30 -05:00
parent 3024e9fba4
commit 2924da88bc
4 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ async fn handle_web_request(
}
}
}
return Ok(Response::new(Body::from(
Ok(Response::new(Body::from(
"Please use a Nostr client to connect.",
)));
)))
}
(_, _) => {
//handle any other url