[~] Refactor
This commit is contained in:
parent
931a18efc7
commit
d82c0d4cd9
@ -43,7 +43,7 @@ logging.warning('got dynu_redirect')
|
|||||||
|
|
||||||
NGROK_DOMAIN = sys.argv[2]
|
NGROK_DOMAIN = sys.argv[2]
|
||||||
t6 = requests.get('http://%s:4040/api/tunnels' % NGROK_DOMAIN).json()
|
t6 = requests.get('http://%s:4040/api/tunnels' % NGROK_DOMAIN).json()
|
||||||
TUNNEL_URL = t6['tunnels'][0]['public_url']
|
TUNNEL_URL = t6['tunnels'][0]['public_url'].replace('http://', 'https://')
|
||||||
logging.warning('got tunnel_url')
|
logging.warning('got tunnel_url')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user