Skip to content

Commit

Permalink
Fix the error of getting cf global api key parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Jan 10, 2022
1 parent 97d64c1 commit 280e3fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/gen_certificates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ get_input_api_info(){

while true
do
_read "请输入Cloudflare - Global API Key:" CF_Key
_read "请输入Cloudflare - Global API Key:"
CF_Key="${inputInfo}"
if [[ $(echo ${#CF_Key}) -ne 37 ]]; then
_echo -e "请输入正确合法的Global API Key."
continue
Expand Down

0 comments on commit 280e3fc

Please sign in to comment.