mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 00:03:28 +02:00
Use public IP for local login. Should make cross-device testing easier.
This commit is contained in:
12
lib/cli.js
12
lib/cli.js
@@ -674,7 +674,11 @@ program
|
||||
'auth-mock'
|
||||
, '--port', options.authPort
|
||||
, '--secret', options.authSecret
|
||||
, '--app-url', util.format('http://localhost:%d/', options.appPort)
|
||||
, '--app-url', util.format(
|
||||
'http://%s:%d/'
|
||||
, options.publicIp
|
||||
, options.appPort
|
||||
)
|
||||
])
|
||||
|
||||
// app
|
||||
@@ -682,7 +686,11 @@ program
|
||||
'app'
|
||||
, '--port', options.appPort
|
||||
, '--secret', options.authSecret
|
||||
, '--auth-url', util.format('http://localhost:%d/', options.authPort)
|
||||
, '--auth-url', util.format(
|
||||
'http://%s:%d/'
|
||||
, options.publicIp
|
||||
, options.authPort
|
||||
)
|
||||
, '--storage-url'
|
||||
, util.format('http://localhost:%d/', options.storagePort)
|
||||
, '--storage-plugin-image-url'
|
||||
|
||||
Reference in New Issue
Block a user