File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
1414)
1515
1616var address = flag .String ("address" , "localhost:8081" , "The address on which the UI and API is served" )
17+ var ciAddress = flag .String ("ciAddress" , "" , "The address on which the CI connection is served" )
1718var visionAddress = flag .String ("visionAddress" , "" , "The address (ip+port) from which vision packages are received" )
1819var trackerAddress = flag .String ("trackerAddress" , "" , "The address (ip+port) from which tracker packages are received" )
1920var publishAddress = flag .String ("publishAddress" , "" , "The address (ip+port) to which referee command should be sent" )
@@ -53,6 +54,9 @@ func setupGameController() {
5354 if skipInterfaces != nil && * skipInterfaces != "" {
5455 cfg .Network .SkipInterfaces = parseSkipInterfaces ()
5556 }
57+ if ciAddress != nil && * ciAddress != "" {
58+ cfg .Server .Ci .Address = * ciAddress
59+ }
5660
5761 gameController := gc .NewGameController (cfg )
5862 gameController .SetVerbose (* verbose )
You can’t perform that action at this time.
0 commit comments