diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-10-07 16:59:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 16:59:22 +0100 |
commit | 8bca7a83a98a310e4adae405d125dda93c8db1a0 (patch) | |
tree | c217e54dc0b0b0f2cbf3c29a4213e09e87c5d2be /cmd/dendrite-key-server/main.go | |
parent | bf7e85848bce3ec9ef89e485699d1c5fc6b34e6b (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.go | 4 |
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, ) } |