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

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

@ -184,7 +184,7 @@ const get = () => {
if (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;
}
if (res.data.algorithm != '') {

Loading…
Cancel
Save