mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 解决网站设置切换到 HTTPS 控制台报错的问题 (#1016)
fix https://github.com/1Panel-dev/1Panel/issues/672
This commit is contained in:
parent
06f1d03b93
commit
bd2a49e299
@ -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…
x
Reference in New Issue
Block a user