aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNoCrypt <57245077+NoCrypt@users.noreply.github.com>2022-11-11 01:54:51 +0000
committerGitHub <noreply@github.com>2022-11-11 01:54:51 +0000
commitc556d34523e8764bd66bf6a7bf97d06add420020 (patch)
treed46d4d6eade3b81bed6ab0dc9bb7c2af422887b1 /modules
parentac085628540d0ec6a988fad93f5b8f2154209571 (diff)
downloadstable-diffusion-webui-gfx803-c556d34523e8764bd66bf6a7bf97d06add420020.tar.gz
stable-diffusion-webui-gfx803-c556d34523e8764bd66bf6a7bf97d06add420020.tar.bz2
stable-diffusion-webui-gfx803-c556d34523e8764bd66bf6a7bf97d06add420020.zip
Forcing HTTPS instead of HTTP for ngrok
For security reason.
Diffstat (limited to 'modules')
-rw-r--r--modules/ngrok.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ngrok.py b/modules/ngrok.py
index 5c5f349a..25c53af8 100644
--- a/modules/ngrok.py
+++ b/modules/ngrok.py
@@ -8,7 +8,7 @@ def connect(token, port, region):
auth_token=token, region=region
)
try:
- public_url = ngrok.connect(port, pyngrok_config=config).public_url
+ public_url = ngrok.connect(port, pyngrok_config=config, bind_tls=True).public_url
except exception.PyngrokNgrokError:
print(f'Invalid ngrok authtoken, ngrok connection aborted.\n'
f'Your token: {token}, get the right one on https://dashboard.ngrok.com/get-started/your-authtoken')