fix: port

main
Bingsu 2023-02-09 22:33:36 +09:00
parent 3abdfa600b
commit 60e5a6048f
1 changed files with 2 additions and 1 deletions

View File

@ -4,4 +4,5 @@ from modules.shared import cmd_opts
if cmd_opts.cloudflared:
print("cloudflared detected, trying to connect...")
try_cloudflare(cmd_opts.port)
port = cmd_opts.port if cmd_opts.port else 7860
try_cloudflare(port)