Browse Source

fix: 解决网站设置切换到 HTTPS 控制台报错的问题 (#1016)

fix https://github.com/1Panel-dev/1Panel/issues/672
pull/1020/head
zhengkunwang223 2 years ago committed by GitHub
parent
commit
bd2a49e299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/views/website/website/config/basic/https/index.vue

2
frontend/src/views/website/website/config/basic/https/index.vue

@ -184,7 +184,7 @@ const get = () => {
if (res.data.httpConfig != '') { if (res.data.httpConfig != '') {
form.httpConfig = res.data.httpConfig; form.httpConfig = res.data.httpConfig;
} }
if (res.data.SSLProtocol.length > 0) { if (res.data.SSLProtocol && res.data.SSLProtocol.length > 0) {
form.SSLProtocol = res.data.SSLProtocol; form.SSLProtocol = res.data.SSLProtocol;
} }
if (res.data.algorithm != '') { if (res.data.algorithm != '') {

Loading…
Cancel
Save