aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-key-server/main.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-10-07 16:59:22 +0100
committerGitHub <noreply@github.com>2020-10-07 16:59:22 +0100
commit8bca7a83a98a310e4adae405d125dda93c8db1a0 (patch)
treec217e54dc0b0b0f2cbf3c29a4213e09e87c5d2be /cmd/dendrite-key-server/main.go
parentbf7e85848bce3ec9ef89e485699d1c5fc6b34e6b (diff)
Update monolith -api behaviour (#1484)
* Update monolith -api mode listeners * Fix check * Fix another check * Update HTTP API addr behaviour * Redefine NoExternalListener * NoListener
Diffstat (limited to 'cmd/dendrite-key-server/main.go')
-rw-r--r--cmd/dendrite-key-server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendrite-key-server/main.go b/cmd/dendrite-key-server/main.go
index 2110b216..92d18ac3 100644
--- a/cmd/dendrite-key-server/main.go
+++ b/cmd/dendrite-key-server/main.go
@@ -30,8 +30,8 @@ func main() {
keyserver.AddInternalRoutes(base.InternalAPIMux, intAPI)
base.SetupAndServeHTTP(
- base.Cfg.KeyServer.InternalAPI.Listen,
- setup.NoExternalListener,
+ base.Cfg.KeyServer.InternalAPI.Listen, // internal listener
+ setup.NoListener, // external listener
nil, nil,
)
}