mirror of
https://github.com/aljazceru/haven.git
synced 2025-12-18 14:24:18 +01:00
add blossom url
This commit is contained in:
4
main.go
4
main.go
@@ -287,9 +287,7 @@ func makeNewRelay(relayType string, w http.ResponseWriter, r *http.Request) *kha
|
||||
}
|
||||
})
|
||||
|
||||
addr := fmt.Sprintf("%s:%d", config.RelayBindAddress, config.RelayPort)
|
||||
|
||||
bl := blossom.New(outboxRelay, addr)
|
||||
bl := blossom.New(outboxRelay, config.BlossomURL)
|
||||
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