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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user