set outbox service url

This commit is contained in:
Barry Deen
2024-10-29 18:14:22 -04:00
parent e718d7fa4b
commit fed82a8f5f
2 changed files with 2 additions and 1 deletions

View File

@@ -287,7 +287,7 @@ func makeNewRelay(relayType string, w http.ResponseWriter, r *http.Request) *kha
}
})
bl := blossom.New(outboxRelay, config.BlossomURL)
bl := blossom.New(outboxRelay, outboxRelay.ServiceURL)
bl.Store = blossom.EventStoreBlobIndexWrapper{Store: outboxDB, ServiceURL: bl.ServiceURL}
bl.StoreBlob = append(bl.StoreBlob, func(ctx context.Context, sha256 string, body []byte) error {
// if khatru.GetAuthed(ctx) != nPubToPubkey(config.OwnerNpub) {