mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 19:30:55 +00:00
Merge pull request #3076 from gadelkareem/patch-1
Set default Beego RunMode to production
This commit is contained in:
commit
768406f134
@ -188,7 +188,7 @@ func recoverPanic(ctx *context.Context) {
|
|||||||
func newBConfig() *Config {
|
func newBConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
AppName: "beego",
|
AppName: "beego",
|
||||||
RunMode: DEV,
|
RunMode: PROD,
|
||||||
RouterCaseSensitive: true,
|
RouterCaseSensitive: true,
|
||||||
ServerName: "beegoServer:" + VERSION,
|
ServerName: "beegoServer:" + VERSION,
|
||||||
RecoverPanic: true,
|
RecoverPanic: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user