Commit 00159eb469716957102b9750f4dbf067510e2a52
1 parent
62c4f6ed
Exists in
master
Update ngrok.sh
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ngrok.sh
... | ... | @@ -77,10 +77,10 @@ function start_ngrok_clang(){ |
77 | 77 | echo ./bin/ngrokd -domain=\"$dns\" -httpAddr=\":$http_port\" -httpsAddr=\":$https_port\" -pass=\"$pass\" -tlsCrt=$srtCRT -tlsKey=$strKey -tunnelAddr=\":$remote_port\" |
78 | 78 | nohup ./bin/ngrokd -domain="$dns" -httpAddr=":$http_port" -httpsAddr=":$https_port" -pass="$pass" -tlsCrt="$srtCRT" -tlsKey="$strKey" -tunnelAddr=":$remote_port" > ${ngrok_log} 2>&1 & |
79 | 79 | echo -e "Ngrok is running..." |
80 | - echo "read ${ngrok_log} for log" | |
80 | + echo "read $PWD/${ngrok_log} for log" | |
81 | 81 | else |
82 | 82 | echo -e "Ngrok is running, ngrokd ProcessID is\033[40;32m" ${str_Ngrok_PID}"\033[0m." |
83 | - echo "read ${ngrok_log} for log" | |
83 | + echo "read $PWD/${ngrok_log} for log" | |
84 | 84 | fi |
85 | 85 | } |
86 | 86 | ... | ... |