1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-24 17:20:55 +00:00

修复笔误产生的拼写错误

This commit is contained in:
Mr. Myy 2020-07-30 11:18:14 +08:00 committed by GitHub
parent 9d23e5a3fb
commit c46ba86215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.go
View File

@ -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
} }