mirror of
https://github.com/aljazceru/haven.git
synced 2026-02-19 12:34:21 +01:00
restore default outbox
This commit is contained in:
6
main.go
6
main.go
@@ -250,7 +250,7 @@ func makeNewRelay(relayType string, w http.ResponseWriter, r *http.Request) *kha
|
||||
|
||||
return inboxRelay
|
||||
|
||||
case "/": // default to outbox
|
||||
default: // default to outbox
|
||||
outboxRelay.QueryEvents = append(outboxRelay.QueryEvents, outboxDB.QueryEvents)
|
||||
outboxRelay.DeleteEvent = append(outboxRelay.DeleteEvent, outboxDB.DeleteEvent)
|
||||
|
||||
@@ -315,9 +315,5 @@ func makeNewRelay(relayType string, w http.ResponseWriter, r *http.Request) *kha
|
||||
})
|
||||
|
||||
return outboxRelay
|
||||
|
||||
default:
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user