1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-23 03:04:12 +00:00

Set default Beego RunMode to production

This commit is contained in:
Waleed Gadelkareem 2018-03-02 18:23:20 +01:00 committed by GitHub
parent f16688817a
commit 3c9ed48630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,