aboutsummaryrefslogtreecommitdiffstats
path: root/website/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/index.html')
-rw-r--r--website/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/index.html b/website/index.html
index cb86f6f..194841d 100644
--- a/website/index.html
+++ b/website/index.html
@@ -167,7 +167,7 @@ event := &nostr.Event{
167 Kind: nostr.KindTextNote, 167 Kind: nostr.KindTextNote,
168 Content: "Hello Nostr!", 168 Content: "Hello Nostr!",
169} 169}
170event.Sign(key) 170key.Sign(event)
171 171
172relay, _ := nostr.Connect(ctx, "wss://relay.damus.io") 172relay, _ := nostr.Connect(ctx, "wss://relay.damus.io")
173relay.Publish(ctx, event)</code></pre> 173relay.Publish(ctx, event)</code></pre>