配置初始化时增加context参数

This commit is contained in:
GoEdgeLab
2023-03-18 22:12:22 +08:00
parent cfda4857c9
commit 7c0412755b
12 changed files with 15 additions and 15 deletions

View File

@@ -53,7 +53,7 @@ func (this *IndexAction) RunGet(params struct {
this.ErrorPage(err)
return
}
_ = httpsConfig.Init()
_ = httpsConfig.Init(nil)
for _, port := range httpsConfig.AllPorts() {
if lists.ContainsInt(httpPorts, port) {
conflictingPorts = append(conflictingPorts, port)