mirror of
https://github.com/aljazceru/haven.git
synced 2025-12-18 14:24:18 +01:00
set outbox service url
This commit is contained in:
2
main.go
2
main.go
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user