mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 13:21:48 +01:00
Update nostr_dvmcp_server.js
This commit is contained in:
parent
3ae8d018d2
commit
5f5332eba9
@ -52,7 +52,8 @@ const config = {
|
||||
"wss://relay.damus.io",
|
||||
];
|
||||
|
||||
// replace publickey with a unique one (it doesn't matter as much, we just do the requests)
|
||||
// replace private key with a unique one (it doesn't matter as much, we just do the requests)
|
||||
// both hex and nsec are supported
|
||||
let pkey = "e318cb3e6ac163814dd297c2c7d745faacfbc2a826eb4f6d6c81430426a83c2b"
|
||||
|
||||
// Create an MCP server for Stdio
|
||||
@ -195,7 +196,7 @@ async function handle_dvm_request(args, name, pubkey) {
|
||||
|
||||
handleMsg: async (relayUrl, message) =>
|
||||
{
|
||||
console.log("Received message from", relayUrl, message.asJson());
|
||||
//console.log("Received message from", relayUrl, message.asJson());
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user