mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Use public IP for local login. Should make cross-device testing easier.
This commit is contained in:
parent
b4db9fad03
commit
356465bdd3
1 changed files with 10 additions and 2 deletions
12
lib/cli.js
12
lib/cli.js
|
@ -674,7 +674,11 @@ program
|
||||||
'auth-mock'
|
'auth-mock'
|
||||||
, '--port', options.authPort
|
, '--port', options.authPort
|
||||||
, '--secret', options.authSecret
|
, '--secret', options.authSecret
|
||||||
, '--app-url', util.format('http://localhost:%d/', options.appPort)
|
, '--app-url', util.format(
|
||||||
|
'http://%s:%d/'
|
||||||
|
, options.publicIp
|
||||||
|
, options.appPort
|
||||||
|
)
|
||||||
])
|
])
|
||||||
|
|
||||||
// app
|
// app
|
||||||
|
@ -682,7 +686,11 @@ program
|
||||||
'app'
|
'app'
|
||||||
, '--port', options.appPort
|
, '--port', options.appPort
|
||||||
, '--secret', options.authSecret
|
, '--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'
|
, '--storage-url'
|
||||||
, util.format('http://localhost:%d/', options.storagePort)
|
, util.format('http://localhost:%d/', options.storagePort)
|
||||||
, '--storage-plugin-image-url'
|
, '--storage-plugin-image-url'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue