aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-edu-server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-edu-server/main.go')
-rw-r--r--cmd/dendrite-edu-server/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dendrite-edu-server/main.go b/cmd/dendrite-edu-server/main.go
index ceeb1365..a86f66c8 100644
--- a/cmd/dendrite-edu-server/main.go
+++ b/cmd/dendrite-edu-server/main.go
@@ -31,7 +31,8 @@ func main() {
}()
deviceDB := base.CreateDeviceDB()
- eduserver.SetupEDUServerComponent(base, cache.New(), deviceDB)
+ intAPI := eduserver.NewInternalAPI(base, cache.New(), deviceDB)
+ eduserver.AddInternalRoutes(base.InternalAPIMux, intAPI)
base.SetupAndServeHTTP(string(base.Cfg.Bind.EDUServer), string(base.Cfg.Listen.EDUServer))