Skip to content

Commit 31bb0a3

Browse files
authored
More fixes for uint16 ports (#42)
1 parent 68c9d67 commit 31bb0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

world/components.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,10 +719,10 @@ func (maker commonComponentMaker) RoutingAPI(modifyConfigFuncs ...func(*routinga
719719

720720
modifyConfigFuncs = append(modifyConfigFuncs, func(c *routingapi.Config) {
721721
c.API = routingapiconfig.APIConfig{
722-
ListenPort: int(port),
722+
ListenPort: port,
723723
HTTPEnabled: true,
724724

725-
MTLSListenPort: int(port + 2),
725+
MTLSListenPort: port + 2,
726726
MTLSClientCAPath: maker.routingAPISSL.CACert,
727727
MTLSServerCertPath: maker.routingAPISSL.ServerCert,
728728
MTLSServerKeyPath: maker.routingAPISSL.ServerKey,

0 commit comments

Comments
 (0)