mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Reverse port forwarding UI actually works now.
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user