diff --git a/backend/utils/http/request.go b/backend/utils/http/request.go index 0f6850330..5adaa46c5 100644 --- a/backend/utils/http/request.go +++ b/backend/utils/http/request.go @@ -22,7 +22,7 @@ func HandleGet(url, method string) (int, []byte, error) { func HandleGetWithTransport(url, method string, transport *http.Transport) (int, []byte, error) { defer func() { if r := recover(); r != nil { - global.LOG.Errorf(" A panic occurred during handle request, error message: %v", r) + global.LOG.Errorf("handle request failed, error message: %v", r) return } }() diff --git a/frontend/src/views/database/redis/index.vue b/frontend/src/views/database/redis/index.vue index 3ea238010..8f229b080 100644 --- a/frontend/src/views/database/redis/index.vue +++ b/frontend/src/views/database/redis/index.vue @@ -69,6 +69,7 @@ /> diff --git a/frontend/src/views/setting/panel/proxy/index.vue b/frontend/src/views/setting/panel/proxy/index.vue index eac65204b..d379a07c2 100644 --- a/frontend/src/views/setting/panel/proxy/index.vue +++ b/frontend/src/views/setting/panel/proxy/index.vue @@ -31,30 +31,35 @@ - - - - - - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + +
@@ -119,6 +124,8 @@ const acceptParams = (params: DialogProps): void => { if (params.url) { if (params.type === 'http' || params.type === 'https') { form.proxyUrl = params.url.replaceAll(params.type + '://', ''); + } else { + form.proxyUrl = params.url; } } else { form.proxyUrl = '127.0.0.1';