Merge pull request #3076 from gadelkareem/patch-1

Set default Beego RunMode to production
This commit is contained in:
astaxie 2018-03-11 16:26:00 +08:00 committed by GitHub
commit 768406f134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ func recoverPanic(ctx *context.Context) {
func newBConfig() *Config {
return &Config{
AppName: "beego",
RunMode: DEV,
RunMode: PROD,
RouterCaseSensitive: true,
ServerName: "beegoServer:" + VERSION,
RecoverPanic: true,