fix service url

This commit is contained in:
Barry Deen
2024-10-29 18:43:14 -04:00
parent 5beb758b36
commit 36818e43e9

View File

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