1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 10:10:53 +00:00

fix the StaticDir & StaticExtensionsToGzip

This commit is contained in:
astaxie 2016-01-08 11:37:46 +08:00
parent 284c7fd7a9
commit b305152fe7

2
fix.go
View File

@ -74,6 +74,8 @@ var rules = []string{
"beego.HttpServerTimeOut", "beego.BConfig.Listen.ServerTimeOut",
"beego.AutoRender", "beego.BConfig.WebConfig.AutoRender",
"beego.ViewsPath", "beego.BConfig.WebConfig.ViewsPath",
"beego.StaticDir", "beego.BConfig.WebConfig.StaticDir",
"beego.StaticExtensionsToGzip", "beego.BConfig.WebConfig.StaticExtensionsToGzip",
"beego.DirectoryIndex", "beego.BConfig.WebConfig.DirectoryIndex",
"beego.FlashName", "beego.BConfig.WebConfig.FlashName",
"beego.FlashSeperator", "beego.BConfig.WebConfig.FlashSeperator",