mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
修复笔误产生的拼写错误
This commit is contained in:
parent
c46ba86215
commit
0815e77f9a
2
app.go
2
app.go
@ -202,7 +202,7 @@ func (app *App) Run(mws ...MiddleWare) {
|
|||||||
if string(BConfig.Listen.ClientAuth) != "" {
|
if string(BConfig.Listen.ClientAuth) != "" {
|
||||||
tlsConfig.ClientAuth = 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 {
|
if err := app.Server.ListenAndServeTLS(BConfig.Listen.HTTPSCertFile, BConfig.Listen.HTTPSKeyFile); err != nil {
|
||||||
logs.Critical("ListenAndServeTLS: ", err)
|
logs.Critical("ListenAndServeTLS: ", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user