We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c9d67 commit 31bb0a3Copy full SHA for 31bb0a3
world/components.go
@@ -719,10 +719,10 @@ func (maker commonComponentMaker) RoutingAPI(modifyConfigFuncs ...func(*routinga
719
720
modifyConfigFuncs = append(modifyConfigFuncs, func(c *routingapi.Config) {
721
c.API = routingapiconfig.APIConfig{
722
- ListenPort: int(port),
+ ListenPort: port,
723
HTTPEnabled: true,
724
725
- MTLSListenPort: int(port + 2),
+ MTLSListenPort: port + 2,
726
MTLSClientCAPath: maker.routingAPISSL.CACert,
727
MTLSServerCertPath: maker.routingAPISSL.ServerCert,
728
MTLSServerKeyPath: maker.routingAPISSL.ServerKey,
0 commit comments