include the ReplaceEvent setup on all examples.

This commit is contained in:
fiatjaf
2025-01-13 16:47:21 -03:00
parent aa7422b2e4
commit 433cceea86
13 changed files with 14 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ func main() {
relay.QueryEvents = append(relay.QueryEvents, db.QueryEvents)
relay.CountEvents = append(relay.CountEvents, db.CountEvents)
relay.DeleteEvent = append(relay.DeleteEvent, db.DeleteEvent)
relay.ReplaceEvent = append(relay.ReplaceEvent, db.ReplaceEvent)
fmt.Println("running on :3334")
http.ListenAndServe(":3334", relay)