1
This commit is contained in:
parent
a44aaa1cba
commit
943d9fe141
@ -204,7 +204,7 @@ func (this *sApiForward) LoadDownStreams() error {
|
||||
port := q5.ToInt32(ds.GetByName("apigate_port"))
|
||||
enable := q5.ToInt32(ds.GetByName("enable"))
|
||||
if enable != 0 {
|
||||
downSteam := *q5.NewSliceElement(&downStreams)
|
||||
downSteam := q5.NewSliceElement(&downStreams)
|
||||
downSteam.Host = host
|
||||
downSteam.Port = port
|
||||
downSteam.Url = fmt.Sprintf("http://%s:%d", downSteam.Host, downSteam.Port)
|
||||
|
Loading…
x
Reference in New Issue
Block a user