aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-libp2p
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-06-04 14:27:10 +0100
committerGitHub <noreply@github.com>2020-06-04 14:27:10 +0100
commitf4c676ccddcd661b7167e8f249f71635a0b03491 (patch)
tree104562c774958f297ec9b2d0c822818926a9c260 /cmd/dendrite-demo-libp2p
parentf7025d349946aae75160491d0efcc87100adb406 (diff)
Refactor how federationsender gets created (#1095)
* Refactor how federationsender gets created * s/httpint/inthttp/ for alphabetical niceness with internal package
Diffstat (limited to 'cmd/dendrite-demo-libp2p')
-rw-r--r--cmd/dendrite-demo-libp2p/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-libp2p/main.go b/cmd/dendrite-demo-libp2p/main.go
index c00316ec..86909685 100644
--- a/cmd/dendrite-demo-libp2p/main.go
+++ b/cmd/dendrite-demo-libp2p/main.go
@@ -178,7 +178,7 @@ func main() {
base.Base.PublicAPIMux,
base.Base.InternalAPIMux,
&cfg,
- base.Base.EnableHTTPAPIs,
+ base.Base.UseHTTPAPIs,
)
// Expose the matrix APIs directly rather than putting them under a /api path.