Unverified Commit 768406f1 authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #3076 from gadelkareem/patch-1

Set default Beego RunMode to production
parents 075e63b2 3c9ed486
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment