2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix: 开关面板 SSL 自动重启面板

This commit is contained in:
耗子
2023-12-22 18:05:29 +08:00
parent 07b0c7a010
commit 2be12f20f2

View File

@@ -207,7 +207,7 @@ func (r *SettingController) Update(ctx http.Context) http.Response {
}
}
if oldPort != port || oldEntrance != entrance {
if oldPort != port || oldEntrance != entrance || updateRequest.SSL != facades.Config().GetBool("panel.ssl") {
tools.RestartPanel()
}