From 0fe9bf56d6673a801e9ae18221616be0c0a7f500 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Fri, 6 May 2022 14:59:18 +0800 Subject: [PATCH] Fix AutoCert() panic issue. I forgot to catch the http request error, this might cause an unrecoverable panic. --- frontend/package.json | 2 +- frontend/public/index.html | 5 +++++ frontend/version.json | 2 +- server/api/api.go | 17 ++++++----------- server/api/cert.go | 7 ++++++- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index c8da8dbc..fc1ade1b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "nginx-ui-frontend", - "version": "1.2.0", + "version": "1.2.2", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/frontend/public/index.html b/frontend/public/index.html index e137ff0b..a47d8b3e 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -6,6 +6,11 @@ <%= htmlWebpackPlugin.options.title %> +