mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
feat: get lego's logs and send them to frontend
This commit is contained in:
parent
2529ca90ca
commit
cab5ff2c78
2 changed files with 41 additions and 5 deletions
|
@ -154,7 +154,10 @@ const issue_cert = async (config_name: string, server_name: string, callback: Fu
|
|||
|
||||
switch (r.status) {
|
||||
case 'info':
|
||||
progressPercent.value += 5
|
||||
// If it's a lego log, do not increase the percent.
|
||||
if (r.message.indexOf('[INFO]') == -1) {
|
||||
progressPercent.value += 5
|
||||
}
|
||||
break
|
||||
default:
|
||||
modalClosable.value = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue