mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 08:00:53 +00:00
fix: 解决网站设置切换到 HTTPS 控制台报错的问题 (#1016)
fix https://github.com/1Panel-dev/1Panel/issues/672
This commit is contained in:
@@ -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 != '') {
|
||||
|
||||
Reference in New Issue
Block a user