mirror of
https://github.com/astaxie/beego.git
synced 2024-11-24 17:20:55 +00:00
修复笔误产生的拼写错误
This commit is contained in:
parent
9d23e5a3fb
commit
c46ba86215
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user