mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Reverse port forwarding UI actually works now.
This commit is contained in:
parent
99864fb223
commit
cecf08a244
10 changed files with 158 additions and 134 deletions
|
@ -172,7 +172,8 @@ module.exports = function ControlServiceFactory(
|
|||
|
||||
this.createForward = function(forward) {
|
||||
return sendTwoWay('forward.create', {
|
||||
devicePort: forward.devicePort
|
||||
id: forward.id
|
||||
, devicePort: forward.devicePort
|
||||
, targetHost: forward.targetHost
|
||||
, targetPort: forward.targetPort
|
||||
})
|
||||
|
@ -180,7 +181,7 @@ module.exports = function ControlServiceFactory(
|
|||
|
||||
this.removeForward = function(forward) {
|
||||
return sendTwoWay('forward.remove', {
|
||||
devicePort: forward.devicePort
|
||||
id: forward.id
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue