Set REACT_APP_HUB_HOST to single whitespace

This commit is contained in:
M. Mert Yildiran 2022-12-29 08:32:03 +03:00
parent 5e0042413f
commit c445b345f7
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ func createAndStartContainers(
Tty: false,
Env: []string{
"REACT_APP_DEFAULT_FILTER= ",
fmt.Sprintf("REACT_APP_HUB_HOST=%s", config.Config.Tap.Proxy.Host),
"REACT_APP_HUB_HOST= ",
fmt.Sprintf("REACT_APP_HUB_PORT=%d", config.Config.Tap.Proxy.Hub.SrcPort),
},
}, hostConfigFront, nil, nil, nameFront)

View File

@ -319,7 +319,7 @@ func (provider *Provider) BuildFrontPod(opts *PodOptions, hubHost string, hubPor
},
{
Name: "REACT_APP_HUB_HOST",
Value: hubHost,
Value: " ",
},
{
Name: "REACT_APP_HUB_PORT",