mirror of
https://github.com/aljazceru/haven.git
synced 2025-12-17 22:04:20 +01:00
append blossom to service url
This commit is contained in:
2
init.go
2
init.go
@@ -231,7 +231,7 @@ func initRelays() {
|
||||
)
|
||||
addr := fmt.Sprintf("%s:%d", config.RelayBindAddress, config.RelayPort)
|
||||
|
||||
bl := blossom.New(outboxRelay, addr)
|
||||
bl := blossom.New(outboxRelay, addr+"/blossom")
|
||||
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