mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
Add missing internal routes (#2064)
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
This commit is contained in:
parent
388d7a1974
commit
f9bac2f78a
@ -35,6 +35,9 @@ func FederationAPI(base *basepkg.BaseDendrite, cfg *config.Dendrite) {
|
||||
&base.Cfg.MSCs, nil,
|
||||
)
|
||||
|
||||
intAPI := federationapi.NewInternalAPI(base, federation, rsAPI, base.Caches, true)
|
||||
federationapi.AddInternalRoutes(base.InternalAPIMux, intAPI)
|
||||
|
||||
base.SetupAndServeHTTP(
|
||||
base.Cfg.FederationAPI.InternalAPI.Listen,
|
||||
base.Cfg.FederationAPI.ExternalAPI.Listen,
|
||||
|
Loading…
Reference in New Issue
Block a user