fix: 添加缺失的支持NIP

This commit is contained in:
2025-11-23 19:48:44 +09:00
parent e09676582d
commit 98aa3060ce
+1 -1
View File
@@ -29,7 +29,7 @@ pub static SERVER_INFO: Lazy<ServerInfo> = Lazy::new(|| ServerInfo {
name: "A rust nostr relay by laoXong", name: "A rust nostr relay by laoXong",
pubkey: "63abd4f817e39cca4e6abb6e6cf3e133bb718cf8ec28b38c1645e84d7a6190c6", pubkey: "63abd4f817e39cca4e6abb6e6cf3e133bb718cf8ec28b38c1645e84d7a6190c6",
software: "https://git.moe.gift/laoxong/nostr-relay", software: "https://git.moe.gift/laoxong/nostr-relay",
supported_nips: vec![1, 2, 5, 42, 65], supported_nips: vec![1, 2, 5, 9, 11, 42, 50, 65],
version: env!("CARGO_PKG_VERSION"), // 从 Cargo.toml 获取版本 version: env!("CARGO_PKG_VERSION"), // 从 Cargo.toml 获取版本
auth_required: env::var("AUTH_REQUIRED") auth_required: env::var("AUTH_REQUIRED")
.unwrap_or_else(|_| "false".to_string()) .unwrap_or_else(|_| "false".to_string())