diff options
author | Ryan W <twentybitdev@gmail.com> | 2021-09-10 10:05:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 10:05:31 +0100 |
commit | 1cd4d50181585d664ca7337e3f48ea00a1b1f5c6 (patch) | |
tree | 516d497bb181eb03388e692ea4407747e93f12bf /setup/monolith.go | |
parent | a624eab309ee6ee7b3540dfba884a42c9a4f4ad9 (diff) |
Added .well-known/matrix/server endpoint (#1988)
* Added .well-known/matrix/server endpoint
Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
* Replaced tabs with spaces
Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
Diffstat (limited to 'setup/monolith.go')
-rw-r--r-- | setup/monolith.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/monolith.go b/setup/monolith.go index 5ceb4ed3..a77cdd56 100644 --- a/setup/monolith.go +++ b/setup/monolith.go @@ -57,7 +57,7 @@ type Monolith struct { } // AddAllPublicRoutes attaches all public paths to the given router -func (m *Monolith) AddAllPublicRoutes(process *process.ProcessContext, csMux, ssMux, keyMux, mediaMux, synapseMux *mux.Router) { +func (m *Monolith) AddAllPublicRoutes(process *process.ProcessContext, csMux, ssMux, keyMux, wkMux, mediaMux, synapseMux *mux.Router) { clientapi.AddPublicRoutes( csMux, synapseMux, &m.Config.ClientAPI, m.AccountDB, m.FedClient, m.RoomserverAPI, @@ -66,7 +66,7 @@ func (m *Monolith) AddAllPublicRoutes(process *process.ProcessContext, csMux, ss &m.Config.MSCs, ) federationapi.AddPublicRoutes( - ssMux, keyMux, &m.Config.FederationAPI, m.UserAPI, m.FedClient, + ssMux, keyMux, wkMux, &m.Config.FederationAPI, m.UserAPI, m.FedClient, m.KeyRing, m.RoomserverAPI, m.FederationSenderAPI, m.EDUInternalAPI, m.KeyAPI, &m.Config.MSCs, nil, ) |