1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:30:50 +00:00

修复笔误产生的拼写错误

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

2
app.go
View File

@ -202,7 +202,7 @@ func (app *App) Run(mws ...MiddleWare) {
if string(BConfig.Listen.ClientAuth) != "" {
tlsConfig.ClientAuth = BConfig.Listen.ClientAuth
}
app.Server.TLSConfig = &tslConfig
app.Server.TLSConfig = &tlsConfig
}
if err := app.Server.ListenAndServeTLS(BConfig.Listen.HTTPSCertFile, BConfig.Listen.HTTPSKeyFile); err != nil {
logs.Critical("ListenAndServeTLS: ", err)