Update server.ts with improved error handling and logging
This commit is contained in:
parent
cb320765bb
commit
9454a8a1b2
@ -847,7 +847,7 @@ ${responseBody}`;
|
||||
pubkey: this.config.pubkey,
|
||||
tags: [
|
||||
['e', requestId],
|
||||
['p', senderPubkey], // Add 'p' tag with the client's public key
|
||||
['r', 'wss://relay.degmods.com'],
|
||||
['key', encryptedKey], // Add encrypted key tag for decryption
|
||||
['expiration', (Math.floor(Date.now() / 1000) + 3600).toString()]
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user