mirror of
https://github.com/astaxie/beego.git
synced 2025-06-19 19:20:39 +00:00
修复笔误产生的拼写错误
This commit is contained in:
2
app.go
2
app.go
@ -200,7 +200,7 @@ func (app *App) Run(mws ...MiddleWare) {
|
|||||||
ClientAuth: tls.RequireAndVerifyClientCert,
|
ClientAuth: tls.RequireAndVerifyClientCert,
|
||||||
}
|
}
|
||||||
if string(BConfig.Listen.ClientAuth) != "" {
|
if string(BConfig.Listen.ClientAuth) != "" {
|
||||||
tslConfig.ClientAuth = BConfig.Listen.ClientAuth
|
tlsConfig.ClientAuth = BConfig.Listen.ClientAuth
|
||||||
}
|
}
|
||||||
app.Server.TLSConfig = &tslConfig
|
app.Server.TLSConfig = &tslConfig
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user