1
0
Fork 0
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:
Simo Kinnunen 2014-05-27 20:19:08 +09:00
parent b4db9fad03
commit 356465bdd3

View file

@ -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'