aboutsummaryrefslogtreecommitdiff
path: root/mediaapi/mediaapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'mediaapi/mediaapi.go')
-rw-r--r--mediaapi/mediaapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaapi/mediaapi.go b/mediaapi/mediaapi.go
index 38572daf..b5bec390 100644
--- a/mediaapi/mediaapi.go
+++ b/mediaapi/mediaapi.go
@@ -35,6 +35,6 @@ func SetupMediaAPIComponent(
}
routing.Setup(
- base.APIMux, base.Cfg, mediaDB, deviceDB, gomatrixserverlib.NewClient(),
+ base.PublicAPIMux, base.Cfg, mediaDB, deviceDB, gomatrixserverlib.NewClient(),
)
}