mirror of
https://github.com/mikedilger/chorus.git
synced 2026-03-04 06:36:27 +00:00
Fix our NIP-11 to include NIP-01 support
This commit is contained in:
parent
aa4bfbef23
commit
592b77dc02
@ -34,7 +34,7 @@ pub async fn serve_nip11(peer: SocketAddr) -> Result<Response<Body>, Error> {
|
||||
|
||||
fn build_rid(config: &Config) -> String {
|
||||
let mut rid: String = String::with_capacity(255);
|
||||
rid.push_str("{\"supported_nips\":[11],");
|
||||
rid.push_str("{\"supported_nips\":[1,11],");
|
||||
|
||||
let software = env!("CARGO_PKG_NAME");
|
||||
rid.push_str("\"software\":\"");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user