|
|
@ -21,10 +21,6 @@ func main() { |
|
|
|
signal.Notify(stop, os.Interrupt) |
|
|
|
signal.Notify(stop, os.Interrupt) |
|
|
|
wg := &sync.WaitGroup{} |
|
|
|
wg := &sync.WaitGroup{} |
|
|
|
|
|
|
|
|
|
|
|
if os.Getenv("UI_ADDR") != "" { |
|
|
|
|
|
|
|
uiAddr = os.Getenv("UI_ADDR") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if os.Getenv("EXT_ADDR") != "" { |
|
|
|
if os.Getenv("EXT_ADDR") != "" { |
|
|
|
externalApiAddr = "https://" + os.Getenv("EXT_ADDR") + ":" + apiPort |
|
|
|
externalApiAddr = "https://" + os.Getenv("EXT_ADDR") + ":" + apiPort |
|
|
|
} |
|
|
|
} |
|
|
|